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
 25 Subscribed to this forum
Sort:
Author
Messages
Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

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
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

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

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

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

Awesome! Thanks Will.

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

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

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

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
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!
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
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

Awesome recommendation Michael! Thanks

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

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.  

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

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 <code>C:\Work\Dnn.Modules\</code> could be updated to include something like <code>;-.git</code> to omit searching for any subfolder that matches that name.  

So, this somewhat useful search... 

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

HUGE difference!  😎 

Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

Will, thanks for your recommendation! 

Veteran Member
Posts: 360
Veteran Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
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 for the discussion of the open source CMS DNN platform and ecosystem.

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