Click to See Complete Forum and Search --> : Languages and localeID


amritamalviya
February 25th, 2005, 06:46 AM
Guys has anybody worked with languages and there Localeids, I mean I have to change the text in the application to the user's friendly language depending on the locale Id provided by the User , I need to now more about implementation of this locale id, I am keeping there locale Ids of the languages in a oracle 10i database.
can anybody help

Andy Tacker
February 25th, 2005, 09:11 AM
basically, if you do localization, you can create resources which match the user's locale. in this way, you dont need to track the locale. windows will automatically load the required locale...

another way, is by explicility setting
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de-DE");

you can check for locale by getting LCID from CurrentUICulure and loading respective resources for that locale,

Luck...