[Mono-dev] Mono.Unix.Catalog.Init where does it get the locale from?
vladimir at vladster.net
Thu Mar 13 09:16:36 EDT 2008
On windows when I set
Thread.CurrentThread.CurrentCulture = new CultureInfo (config.Localization)
I can change the localization of the current thread and if I call
Catalog.Init after that the localization is properly initialized, and
Catalog.GetString gives me correct string from the localization setup I have
for my application.
But if use the same code on Linux Catalog.GetString does not respect the
changes I made and does not return the messages for the localization I set.
If I use
LANG=cs_CZ.utf8 mono MyApp.exe
Then everything is fine and the localization works. Is there something I am
doing wrong or is this a bug in Mono.Unix?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list