[xmoto-translation] Re: X-Moto Latvian translation update (r2099)

[ Thread Index | Date Index | More lists.tuxfamily.org/xmoto-translation Archives ]


Janis,

i'm not sure to understand.
but the behavior in the game is the following:

- you can set a var called Language in options (config.dat) to change the
LANGUAGE environment variable. However, the first language i propose is
"Automatic" which does not change the LANGUAGE var (if it is set, the LAN=
GUAGE
var is not changed), so that you can set in your environment sv:de and ru=
n
xmoto. Does it solve the problem ?

Nicolas

Quoting J=C4=81nis R=C5=ABcis <parasti@xxxxxxxxx>:

> Hi Nicolas,
>
> Attached is an update to the Latvian translation.
>
> About translation options in-game, you can use "Latvie=C5=A1u" for "Lat=
vian".
> However, I'm not sure if you are aware of this, but I want to mention a
> problem with GNU Gettext.  I see that you are setting the LANGUAGE
> environment variable to change the language at run-time.  (This is also
> what the Gettext documentation suggested for some time.)  Here's what
> the ABOUT-NLS file says:
>
>    Not all programs have translations for all languages.  By default, a=
n
>    English message is shown in place of a nonexistent translation.  If
>    you understand other languages, you can set up a priority list of
>    languages.  This is done through a different environment variable,
>    called `LANGUAGE'.  GNU `gettext' gives preference to `LANGUAGE' ove=
r
>    `LANG' for the purpose of message handling, but you still need to
>    have `LANG' set to the primary language; this is required by other
>    parts of the system libraries.  For example, some Swedish users who
>    would rather read translations in German than English for when
>    Swedish is not available, set `LANGUAGE' to `sv:de' while leaving
>    `LANG' to `sv_SE'.
>
> Overriding the LANGUAGE environment variable breaks this behaviour.  Of
> course, it does not matter if all translations are completed, but it is
> worth considering whether in-game language selection is more important
> than this functionality.
>
> J=C4=81nis
>
>

---


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/