[Mono-dev] Mono.Unix.Catalog.Init where does it get the locale from?
Vladimir Dimitrov
vladimir at vladster.net
Thu Mar 13 09:16:36 EDT 2008
Hi guys,
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?
Thanks,
Vladimir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080313/da5ba457/attachment.html
More information about the Mono-devel-list
mailing list