<div dir="ltr">On Fri, Sep 26, 2008 at 11:30 AM, Daniel Leidert <span dir="ltr">&lt;<a href="mailto:Daniel.Leidert.Spam@gmx.net">Daniel.Leidert.Spam@gmx.net</a>&gt;</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>
&gt; I have now the configuration issues of intltool+others solved in ghemical,<br>
&gt; so that the system could now be tested.<br>
&gt; Now I would like to try a known translated program, and I chose gchempaint<br>
&gt; and took it from debian &quot;lenny&quot; (it&#39;s gchemopaint-0.8.7).<br>
&gt;<br>
&gt; But now I don&#39;t know how to set a translation, say the french language<br>
&gt; version, active. I have tried<br>
&gt;<br>
&gt; export LC_MESSAGES=fr<br>
&gt; export LC_MESSAGES=&#39;fr&#39;<br>
&gt; export LC_MESSAGES=&quot;fr&quot;<br>
&gt;<br>
&gt; 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&#39; instead of `fr&#39;.<br>
<div class="Ih2E3d"><br>
&gt; So how can I easily test a translation (implemented using the gettext<br>
&gt; system)?<br>
<br>
</div>LANG=fr_FR program</blockquote><div><br>&nbsp;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>