Localization strings not being picked upLocalization strings not being picked up
Old forum URL: forums.lhotka.net/forums/t/7656.aspx
Chaz4Code posted on Friday, September 18, 2009
In the web.config i'm setting the culture in the globalization section.
globalization enableClientBasedCulture="false" culture="en-us" uiCulture="en"
If I change that to another culture (es) all of my tiers pick up the translations for the files I created with .es.resx extension. However the validation messages are still english as the csla es.dll file is not being loaded. I've checked the bin directory and all the csla translation files are there.
Any help would be appreciated. Not sure why the culture is not being picked up.sergeyb replied on Friday, September 18, 2009
I am guessing CSLA translation are out of date for this language. You can check by comparing CSLA.resx with CSLA.es.resx files in CSLA solution.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 | mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation
-----Original Message-----
From: Chaz4Code [mailto:cslanet@lhotka.net]
Sent: Friday, September 18, 2009 3:54 PM
To: Sergey Barskiy
Subject: [CSLA .NET] Localization strings not being picked up
In the web.config i'm setting the culture in the globalization section.
If I change that to another culture (es) all of my tiers pick up the translations for the files I created with .es.resx extension. However the validation messages are still english as the csla es.dll file is not being loaded. I've checked the bin directory and all the csla translation files are there.
Any help would be appreciated. Not sure why the culture is not being picked up.
Chaz4Code replied on Thursday, September 24, 2009
Thanks for the reply. I looked at the resource file directly and it has the translations.JonnyBee replied on Friday, September 25, 2009
Hi,
Open it up in
ResEx and compare the default resource with your language resource.
There may be translations (resource keys) missing in your language that needs updating.
/jonnybee
Copyright (c) Marimer LLC