Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  5-letter language codes not working
Previous Previous
 
Next Next
New Post 4/10/2008 6:13 AM
User is offline jeroen.hendrickx
2 posts
10th Ranked


5-letter language codes not working 

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 8:30 AM
User is offline Sebastian Leupold
13212 posts
www.deutschnetnuke.de
1st Ranked












Re: 5-letter language codes not working 

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.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 4/10/2008 10:28 AM
User is offline jeroen.hendrickx
2 posts
10th Ranked


Re: 5-letter language codes not working 

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 Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  5-letter language codes not working
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com
Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca
Vekkin Solutions
Vekkin Solutions provides complete website solutions and custom module development to churches and small businesses.
www.vekkin.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP