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

Vlado Peshov vlatkop at gmail.com
Fri Sep 26 05:41:34 EDT 2008


On Fri, Sep 26, 2008 at 11:30 AM, Daniel Leidert <
Daniel.Leidert.Spam at gmx.net> wrote:

> Tommi Hassinen wrote:
>
> > I have now the configuration issues of intltool+others solved in
> ghemical,
> > so that the system could now be tested.
> > Now I would like to try a known translated program, and I chose
> gchempaint
> > and took it from debian "lenny" (it's gchemopaint-0.8.7).
> >
> > But now I don't know how to set a translation, say the french language
> > version, active. I have tried
> >
> > export LC_MESSAGES=fr
> > export LC_MESSAGES='fr'
> > export LC_MESSAGES="fr"
> >
> > but nothing seems to have any effect.
>
> The .mo files are installed in the locale directory and the path is
> correctly set in the
> (source) code?
>
> If yes, then try `fr_FR' instead of `fr'.
>
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/pipermail/ghemical-devel/attachments/20080926/1fa25c78/attachment.html>


More information about the ghemical-devel mailing list