[Gambas-user] Langage module in gambas IDE

ron ronstk at ...239...
Thu Mar 25 23:46:58 CET 2004


On Thursday 25 March 2004 22:43, Benoit Minisini wrote:

> > ==============
> > The first  way is:
> > ----------------------
> > The 'language' spoken in 'COUNTRY'
> > Example:
> >   'fr_BE', en_BE'. 'nl_BE' and 'de_BE' as output from the locale program.
> >
8<--------
>
> System.Language returns the language_COUNTRY value stored in $LANG.

Only LANG=en_GB.ISO-8859-1 in terminal under KDE
and LANG=POSIX in a normal terminal.

>
> The interpreter uses it to find a translation file that matches it exactly.
> If the translation file does not exist, it tries another with only the
> language part.
>
> Then, 'nl' is the dutch translation used when no other country-specific
> dutch translation exists. It is "common dutch". 'nl_NL' will means the
> dutch spoken in netherlands. This is purely a Gambas agreement.
>
> The COUNTRY part is just used to provide more specific translation.
>
> For example, 'fr' is french (french is french), but 'fr_CA' is the french
> spoken in Canada, which is very different from oiginal french !
>



More information about the User mailing list