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
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  Localization only loads default language, not language set in browser.
Previous Previous
 
Next Next
New Post 8/22/2007 3:45 AM
User is offline notinmyname
37 posts
10th Ranked


Localization only loads default language, not language set in browser. 

I read the CultureInfo.CurrentCulture.Name and the control reads the browser's main language (en-US), however, Localization.GetString(... only loads the resx file associated with the Portal's default language (de-DE)! Any ideas why this is the case? Are there any hidden settings in DNN that prevent the control from automatically loading the appropriate .resx?

DotNetNuke.Services.Localization.Localization.GetString("worldmap", Me.LocalResourceFile) is how I access the resource file. Alas as said before, it works, but only for the Portal's default language.

 

 

 
New Post 8/22/2007 9:08 AM
User is offline Sebastian Leupold
15057 posts
www.deutschnetnuke.de
1st Ranked












Re: Localization only loads default language, not language set in browser. 

there is a setting in admin :: languages, whether browser language shall be retrieved.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 8/23/2007 2:07 AM
User is offline notinmyname
37 posts
10th Ranked


Re: Localization only loads default language, not language set in browser. 

I can't find this setting in DNN 3.3.5, also, the languages setting here is within Host not Admin. WTF.

 
New Post 8/23/2007 6:58 AM
User is offline Sebastian Leupold
15057 posts
www.deutschnetnuke.de
1st Ranked












Re: Localization only loads default language, not language set in browser. 

this feature has been added in DNN 4.4.0 AFAIR, please upgrade.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 8/23/2007 8:14 AM
User is offline notinmyname
37 posts
10th Ranked


Re: Localization only loads default language, not language set in browser. 

I just did, still won't work.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  Localization only loads default language, not language set in browser.
 


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.

 


Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com
DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com

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