Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Tip: Change DNN system text labels safely and easily

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
robax
Posts:16



12/07/2007 4:02 PM  

The Language Editor

The language editor allows you to alter virtually any system-generated text via the DNN interface. This includes all text labels, help pages and even the system emails. Language resource files generally reside in a subfolder of the module or control that they affect. The folder is named "App_LocalResources". There are also many system-wide language items stored in a folder at root-level named "App_GlobalResources". 

 

The editor has a file browser that displays only the language resource files. The editor has 3 different modes: Admin, Host and System

 

·         Admin mode creates new resource language files that affect a single portal of the installation and are safe from framework upgrades. The Admin “Language Editor” is accessed via the Admin “Languages” menu.

·         Host mode creates new resource language files that affect all portals of the installation, and are also safe from framework upgrades. The Host “Language Editor” is accessed via the Host “Languages” menu. You must tick the Host” radio button after the Language Editor is loaded as it defaults to System mode.

·         System mode modifies the default resource language files and is for creating distributable language packs. Changes made to the default language/s are not safe from framework upgrades. This is the default mode of operation upon accessing the Language Editor via the Host menu.

 

If you have access to the file system itself, you can bypass the language editor altogether and simply create copies of the desired language files with a change to the extension. Leave the copies in the same folder as the source files. The changed files need only contain the header section and the changed items. I recommend using the language editor to alter a file for the first time, then view it in a text or XML editor to learn what it did. If you make an error when changing the files directly, you will generate an exception when the module or page is loaded. 

 

Here is an example for manually naming additional Profile control language files:

 

System default: Profile.ascx.resx

Host copy: Profile.ascx.Host.resx

Portal copy: Profile.ascx.Portal-(#).resx  (Replace (#) with the Portal ID number)

 

_______________________

Robert Axford

jack2008
Posts:2



05/17/2008 1:51 AM  

thankx for article.really i got lot of information here.i learned new thing.

=================

jack

The Fastest, Easiest way to learn DotNetNuke! Free Trial Lessons!! http://www.applydnn.com

jack2008
Posts:2



05/17/2008 1:52 AM  

thankx for your wealthy information article.today i learned lot of new thing from your article.

=================

jack

The Fastest, Easiest way to learn DotNetNuke! Free Trial Lessons!! http://www.applydnn.com

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >Tips-And-Tricks > Tip: Change DNN system text labels safely and easily



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

Item codeXDAkuna
AuthorNina Meiers
Price$49.00
Product Information