[Gambas-user] Localisation: find available language(s)

Benoit Minisini gambas at ...1...
Fri Dec 19 14:10:53 CET 2008


On vendredi 19 décembre 2008, wig wrote:
> I want to show the available languages (translations) for my project.
>
> Is there a way to "get" the available languages in Gambas like
>
> aLanguages = Application.Languages ?
>
> Or is it stored as metadata in some file?
>
> If not, I understand that in the project directory ..
> myproject/.lang
> .. I can find the language files ending on .po and .mo
>
> I could use them as indication of available languages.
>
> Or is there a better way?
>

There is no better way. But it work only in trunk because of a bug that was 
fixed recently.

Regards,

-- 
Benoit Minisini




More information about the User mailing list