[Gambas-user] Problems in translation

Benoit Minisini gambas at ...1...
Tue Mar 29 16:29:24 CEST 2005


On Tuesday 29 March 2005 16:25, ulisse at ...933... wrote:
> Dear Benoit,
> thanks for your answer.
>
> I missed one important detail: The issue is in switching the
> language in a form.
>
> Following your help I was able to use System.Language ="..."
> but it worked only when I made a startup module and I set it
> to show the Form1 after having issued System.Language="...".
>
> Changing System.Language after having shown the form doesn't
> affect the form itself so:
> I can switch the language
> A) putting the LANG var or
> B) reading the wanted lang from .conf file (and that solve
> 100% my need)
>
> Still missing is how to switch lang on the fly after having
> started the app.

You can't, once the form is shown. You must destroy and recreate it.

>
> Thanks again especially for explaining the internals (/tmp
> and glibc)
>
> Ulisse
>

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list