DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Translate all labels from login module

 9 Replies
 0 Subscribed to this topic
 22 Subscribed to this forum
Sort:
Author
Messages
Veteran Member Send Private Message
Posts: 259
Veteran Member

Hi guys, anyone can remind me the location for the resources file where the login module labels are located in order to translate those to the language my client requires.  Thanks in advanced.

Senior Member Send Private Message
Posts: 1513
Senior Member

These three files are probably the best places for you to start.  :) 

Though, you'll probably find additional shared values in the GlobalResources and SharedResources files as well. 

Veteran Member Send Private Message
Posts: 259
Veteran Member

Awesome! Thanks Will.

Veteran Member Send Private Message
Posts: 259
Veteran Member

I found most of the labels for login under "Global Resources -> SharedResources" in case somebody need this. Regards.

Senior Member Send Private Message
Posts: 1513
Senior Member

Yeah, most of them.  That's why I was a bit vague.  Depending on the use case(s) you need to support, I'm pretty sure that there will be a bit of overlap across localization files.  

Veteran Member Send Private Message
Posts: 1182
Veteran Member
As there is no "better" tool in DNN, I always use the "Find in files" function of Notepad++ for that, setting the folder to the DNN root, include sub-dirs and filter to "*.resx". I always found what I was looking for... Happy DNNing! Michael

Michael Tobisch
DNN★MVP

DNN Connect
Veteran Member Send Private Message
Posts: 259
Veteran Member

Awesome recommendation Michael! Thanks

Senior Member Send Private Message
Posts: 1513
Senior Member

To Michael's point, I also find it easier to first use a third-party (and external) tool to find things in the localization files.  They're just too many and many of the key/value pairs don't make sense where they are.  You can waste a lot of time in the DNN UI trying to find things to translate if you don't already know where to look for them.  

Personally, Mark Saunders introduced me to FileLocator Pro (and Lite) years ago.  That's where my screenshot came from. Both versions are equally powerful for all of the daily tasks I've ever had to perform.  I mainly use Notepad++ for notes I don't care about losing, for viewing log files, quick code edits, etc.  

What's to follow is not an ad and I don't get anything for saying any of this.  I just LOVE this tool.  It's saved me many hours of time over the years for all kinds of tasks.  Maybe Notepad++ can do all of this too.  I'm just far more familiar with the features in the one I use.  

By the way, if any of you begin using FileLocator Pro/Lite, the following file exclusion list is something I use all of the time. I use this when I'm searching through source code.  It works faster and more thoroughly than Visual Studio ever can - especially through larger or multiple project folders at the same time.  This exclusion list prevents the search from looking into files that you don't care about.  This is a tool that I often use to deep dive into source code and other files to find deeply-rooted hacks.  

NOT:*.cache;*.FileListAbsolute.txt;*.dll;*.pdb;*.jmx;*.ide;*.ide-wal;*.designer.cs;*.zip;*\node_modules\*.*;*.suo;*.bak;

Here is what that might look like in practice.  Imagine if the exclusion wasn't there...  You'd have to look through all kinds of VS, .NET, backup, and DLL files.  

The only reason I've found to get Pro (vs Lite) so far is that you can exclude (or include) child folders in several cool ways with Pro.  So, the folder value C:\Work\Dnn.Modules\ could be updated to include something like ;-.git to omit searching for any subfolder that matches that name.  

So, this somewhat useful search... 

Now, using the additional parameters (C:\Work\Dnn.Modules\;-.git;-Build) can look like this:

HUGE difference!  😎 

Veteran Member Send Private Message
Posts: 259
Veteran Member

Will, thanks for your recommendation! 

Veteran Member Send Private Message
Posts: 350
Veteran Member
Will, thank you for reminding me of that long-lost program for me. I couldn't remember the name of it to save my life! LOL. It is a GREAT program!

David Poindexter


Creator:


These Forums are dedicated to the discussion of DNN Platform.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved