Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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...5-letter language codes not working5-letter language codes not working
Previous
 
Next
New Post
4/10/2008 9:13 AM
 

We've got a DNN-implementation based on version 4.02 .

We've internationalised it successfully to Dutch ("nl"), French ("fr") and English ("en"). However, now we need to have "nl-NL" (Dutch - Netherlands) in addition to "nl". The problem is that I don't get any resx-files with 5-letter language-codes to work. In case of "nl-NL" it keeps defaulting to "nl".

  • I've checked our custom-code for anything that may cause this
  • I've tried adding a new language with a 2-character language code (Czech, "cs") . Works fine. Then I tried to add it as "cs-CZ" instead and it defaults to English.
  • Thread.CurrentThread.CurrentCulture and -CurrentUICulture are correctly set to "nl-NL" .
  • I've scoured the DNN-source localization library for a reason, but I can't find anything.
  • I can edit the "nl-NL" files from the Admin/Host menu just fine. Same goes for creating language packs.

 

So my question is: is this a known problem? If so, would upgrading DNN help, or is there a solution? Is there a setting I missed?

 

Feel free to point me to older threads if I've missed them.

 

Cheers.

 

 

 

 
New Post
4/10/2008 11:30 AM
 

Jeroen,

the problem is just the other way round: DNN does not support 2 letter language codes, remove them and use language-locale codes only, this should work as expected (fall back from e.g. fr-BE to fr-FR is handled internally. For full language support, you should, however, upgrade to latest core version, 4.0.2 is about two years old and a lot of improvements have been added since in the localization area.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/10/2008 1:28 PM
 

Thanks for the answer.

I'm afraid updating is just not an option for the time being. (Though we should, probably).

I've tried changing every single resx-file to a five-character code. Didn't work. They all defaulted to the "default-resx" afterwards. Reinstalling the languages from the host/admin menu didn't help either (I was hoping for some mystical setting that would change, but sadly: no).

So, I'm very sorry, but it didn't change a thing.

 

 

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...5-letter language codes not working5-letter language codes not working


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out