[ghemical-devel] FW: [ghemical-users] Translate Ghemical

Jean Bréfort jean.brefort at normalesup.org
Fri Oct 3 05:32:34 EDT 2008


Le vendredi 03 octobre 2008 à 12:11 +0300, Tommi Hassinen a écrit :
> > So how can I easily test a translation (implemented using the gettext
> > system)?
> 
> LANG=fr_FR program
> 
>  LANG=$LANG_CODE.ENCODING program
> 
> Sometimes ENCODING is not needed
> 
> You can find LANG_CODE.ENCODING (or alias) in:
> 
> /etc/locale.alias
> 
> Regards, Vlado
> 
> 
> Hello,
> I still have problems with this.  :(
> 
> $ cat /etc/locale.alias | grep fr
> # This program is free software; you can redistribute it and/or modify
> # Note: This file is far from being complete.  If you have a value for
> français        fr_FR.ISO-8859-1
> french          fr_FR.ISO-8859-1
> 
> $ LANG=fr_FR.ISO-8859-1 gchempaint
> 
> (gchempaint:3736): Gtk-WARNING **: Locale not supported by C library.
>         Using the fallback 'C' locale.
> 
> Then gchempaint appears in default English langugage.
> Any ideas, what could be done, or what is missing from my system?

You need to have the locale installed. It can be done manually, using
localdef. With debian, the correct way to do that is sto uncomment the
appropriate line(s) in /etc/locale.gen and then run locale-gen

Regards,
Jean





More information about the ghemical-devel mailing list