<div dir="ltr">On Fri, Sep 26, 2008 at 11:30 AM, Daniel Leidert <span dir="ltr"><<a href="mailto:Daniel.Leidert.Spam@gmx.net">Daniel.Leidert.Spam@gmx.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Tommi Hassinen wrote:<br>
<br>
> I have now the configuration issues of intltool+others solved in ghemical,<br>
> so that the system could now be tested.<br>
> Now I would like to try a known translated program, and I chose gchempaint<br>
> and took it from debian "lenny" (it's gchemopaint-0.8.7).<br>
><br>
> But now I don't know how to set a translation, say the french language<br>
> version, active. I have tried<br>
><br>
> export LC_MESSAGES=fr<br>
> export LC_MESSAGES='fr'<br>
> export LC_MESSAGES="fr"<br>
><br>
> but nothing seems to have any effect.<br>
<br>
</div>The .mo files are installed in the locale directory and the path is correctly set in the<br>
(source) code?<br>
<br>
If yes, then try `fr_FR' instead of `fr'.<br>
<div class="Ih2E3d"><br>
> So how can I easily test a translation (implemented using the gettext<br>
> system)?<br>
<br>
</div>LANG=fr_FR program</blockquote><div><br> LANG=$LANG_CODE.ENCODING program<br><br>Sometimes ENCODING is not needed<br><br>You can find LANG_CODE.ENCODING (or alias) in:<br><br>/etc/locale.alias<br><br>Regards, Vlado<br>
</div></div><br></div>