> Hi :)
> I already did this, but if a user wants to try other language, can he
> do it from the gui (i.e. without using "env LANG=xx")?
> Thanks
> 

Yes and no. :-)

If you redefine the System.Language property, the localization 
(language+country) will change, but the translations of already loaded forms 
will not be reloaded automatically. You must destroy all your forms, and 
reload it.

The simpler is storing in a configuration file the language wanted by the 
user, define the System.Language at startup with it. If the user wants to 
change it, just tell him to restart the application.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to