Learn More





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...Administration ...Administration ...GlobalResources.Host.resxGlobalResources.Host.resx
New Post
1/29/2015 6:51 PM


I needed to edit the default contents of the resource "MESSAGE_PORTAL_TERMS.Text" which is accessible via the Language Editor. To do this I selected GlobalResources and then in the text box corresponding to MESSAGE_PORTAL_TERMS.txt,  I used the built-in text editor to make my changes.

After editing the text in Host mode, I clicked on "Save Resource File". This action created a new reference called  GlobalResources.Host.resx that contains my changes but also a lot of unwanted line break tags. Some buggy process has inserted these into the HTML corresponding to GlobalResources.Host.resx thus creating a mess as "Localized Value".  After making another change to the text under GlobalResources yet another reference was created. This time called GlobalResources.Host.Host.resx. I suspect the Host.resx, Host.Host.resx, Host.Host.Host.resx, etc references were created to save changes that won't be overwritten with the next DNN update, but I am not sure. Please clarify this for me if you can.  

Q1: Once a *.Host.resx reference/file is created should all further editing changes be made to that file via the "Edit value in text Editor" pencil icon. 

Q2: Is it a bug that several .Host references/files are created? Which one is important? Can I safely delete the extra/superfluous ones?

Q3: If I deleted all the *.Host.resx references (the contents of which don't seem to be used) then will I lose my changes when I update to a new version of DNN. I am currently running DNN version 7.2.2.



New Post
1/30/2015 4:34 AM
the issue with has been fixed in DNN 6.1 AFAIR, you should upgrade at least to DNN 6.2.9
The line breaks might have been inserted by the HTML editor, I suggest switching to CKEditor, which doesn't suffer from this issue.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
1/30/2015 5:50 AM

Hi Sebastian

As stated above, "I am currently running DNN version 7.2.2". Hence, it appears the bug has NOT been completely fixed even in generation 7 of DNN. When you get a moment would you please respond to questions Q1, Q2 and Q3.

Many thanks,

New Post
1/30/2015 10:51 AM
sorry, I missed the version number.
if a .host.resx or .portal-x.resx file is listed inside the language editor in the tree on the left, please stay away from editing it, always select the note w/o extension.
Q1: it depends on the HTML editor installed, how much it scrambles the text - there is a reason, why we always prefer CKEditor (will ship with DNN 7.4.0 and is planned to become default editor in DN 7.5.0). Download for free from You may as well use any other WYSIWYG editor to edit html keys and past the text into the text box in language editor.
Q2: files .resx are from core, .de-DE.resx or .fr-FR.resx etc. are from language packs (editable by selecting "System" in Admin languages). These files will be overwritten on upgrades of core, extension or language packs. .host.resx or are adoptions for all sites in your DNN. These files will be preserved on upgrades and (virtually) merged with content of the langauge packs. same for files .portal-0.resx or .de-DE.portal-1.resx , which affect only a single site inside your DNN.
files ending or host.portal-0.resx are caused by a bug and may be safely deleted.
Q3. if you delete the files, you will loose your adoptions, yes.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...GlobalResources.Host.resxGlobalResources.Host.resx

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?