Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Localization of page namesLocalization of page names
Previous
 
Next
New Post
12/17/2016 3:03 PM
 

How can I apply internationalization to name of my page (the string that is marked as Page Name on Admin/Pages page, and that appears in menu) ?

I have tried to do that programmatically, setting value to tabController.GetTab(this.TabId).TabName in page_load method, but that value that not appear on menu. Also I would prefer to configure that somewhere in DNN, it seems much cleaner to me.

 
New Post
12/17/2016 6:21 PM
 
admin page names are localized using strings in /app_globalresources/sharedresources.resx or /app_globalresources/globalresources.resx
you might use language editor in Admin Languages by clicking edit static resource icon in the language row for system (if modifying the language pack itself), host (all sites) or site (current site)

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/18/2016 9:49 AM
 

Thanks.

It seems that language editor can not add new items in its string list. And names of my custom pages are surely not already there.

So, detailed solution is :

- open App_GlobalResources/GlobalResources.resx in text editor;

- find name of some DNN's predefined page, for example search for string "ActivityFeed";

- copy and paste whole <data> tag around ActivityFeed string;

- change it to adhere to your page name; (avoid spaces in "name" attribute)

- "Save as" to make a copy for other language, with appropriate infix (sl-si in my example) in file name;

- change new data tag in new file version, in order to translate it.

That's it. You can reload page and see results.

 
New Post
12/18/2016 8:16 PM
 
sorry, DNN does not provide an official solution for custom admin pages (and the admin menu is deprecated with DNN 9)

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Localization of page namesLocalization of page names


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

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

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. 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.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out