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  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


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
12957 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



DotNetNuke Project UserDefinedTable
DotNetNuke Project XML/XSL
 
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.

 


Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com
PartnerPoint - Microsoft Technology Community
PartnerPoint is one of the largest online communities of Microsoft Partners Worldwide. With over 5,000 active members, it serves as a collaboration platform for other technology communties around the globe
www.partnerpoint.com

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