[Mono-list] Mono.Unix - change translation at run-time

Steve Lessard s_lessard at yahoo.com
Wed Jun 30 22:53:52 EDT 2010


For starters you'll have to set the locale on each thread, use appropriate instances of IFormatProvider and StringComparison.

-SteveL


On Jun 30, 2010, at 12:16 PM, Miguel de Icaza <miguel at novell.com> wrote:

> 
> Hi all. Does anybody know how to use Mono.Unix to translate a desktop
> application at run-time without restarting? That is, the user selects a
> different language and all strings immediately change without an
> interruption.
> 
> That is a feature of your application, not of Mono.Unix.
> 
> I am not aware of many applications that support switching the language at runtime, most require you to restart the application as most apps will cache or compute translations just once as opposed to every time the string is used.
> 
> Miguel.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100630/3bdec0d4/attachment-0001.html 


More information about the Mono-list mailing list