[Gambas-user] Shipping translations for my project

M0E Lnx m0e.lnx at ...626...
Thu Oct 30 18:55:19 CET 2008


Right... I understand that..
But settings System.Language = "ft_FR" will only translate my
application to French if a French translation is available .....
correct?

And there lies my question... I want to list the translations
available for my application... (I have only 3 at the moment, but
there will be more)
The user should see these in a listbox and pick one.... but where do I
get the values for the listbox (without having to hardcode a list
there)



On Thu, Oct 30, 2008 at 12:46 PM, Benoit Minisini
<gambas at ...1...> wrote:
> On jeudi 30 octobre 2008, M0E Lnx wrote:
>> I've got the translations... but what do I do with them?
>>
>> If it is all automatic, how can I offer the end user the choice of
>> languages?
>>
>
> On Unix, the user sets its language with the LANG environmental variable.
>
> If you want to do that inside your program, just set the System.Language
> property with the requested language code (for example, "fr_FR" for french in
> France).
>
> Regards,
>
> --
> Benoit Minisini
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list