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  |  

AspDotNetStoreFront
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  DotNetNuke.Services.Localization.Localization.GetString doesn't return proper language
Previous Previous
 
Next Next
New Post 2/18/2008 1:44 AM
User is offline notinmyname
37 posts
10th Ranked


DotNetNuke.Services.Localization.Localization.GetString doesn't return proper language 

Hi, I'm using DotNetNuke.Services.Localization.Localization.GetString to localize a module.

DotNetNuke.Services.Localization.Localization.GetString("Success.text", Me.LocalResourceFile) only returns the default resx's string and not the language passed on by the URL. I checked System.Threading.Thread.CurrentThread.CurrentCulture.ToString() and the new language (in this case pl-PL for Polish instead of English) is set.

Anyone knows why the Culture's resx is not loaded?

I checked it with different languages and language file, the resource files are not loaded for any of them, the Culture however is set. I checked the naming etc.



 
New Post 2/18/2008 2:06 AM
User is offline Sebastian Leupold
15057 posts
www.deutschnetnuke.de
1st Ranked












Re: DotNetNuke.Services.Localization.Localization.GetString doesn't return proper language 

did you make sure, the resource file has a valid format?


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  DotNetNuke.Services.Localization.Localization.GetString doesn't return proper language
 


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.

 


Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult
Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com

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