Hello Clements<div>I used --with-nls at my configure command.</div><div><br></div><div>- Regarding  i18N Platform.make:</div><div><div>#i18N</div><div>HAVE_NLS            = 1</div><div>(seems ok)</div><div><br></div><div>- Config.h (/usr/local/grass-6.4.0svn/include/grass/):</div>
<div><div>/* define if libintl.h exists */</div><div>#define HAVE_LIBINTL_H 1</div><div><br></div><div>/* define if iconv.h exists */</div><div>#define HAVE_ICONV_H 1</div><div><br></div><div>/* define if NLS requested */</div>
<div>#define USE_NLS 1</div><div><br></div><div>(seems to be equal)</div></div><div><br></div><div>By doing:</div><div>nm /usr/local/grass-6.4.0svn/lib/libgrass_gis.so</div><div>U bindtextdomain ==&gt; There was no output with bindtextdomain</div>
<div>U dgettext==&gt; There was no output with dgettext</div><div>Only:</div><div>00029130 T G_gettext</div><div><br></div><div>About:</div><div>nm /usr/local/grass-6.4.0svn/bin/g.parser</div><div>U G_gettext ==&gt; Nothing with gettext...</div>
<div><br></div><div>So, what the prognosis? :)</div><div><br></div><div>I didn&#39;t modified po files. I just using mo files installed by GRASS svn6.4.0, so I&#39;m not touching them</div></div><div><br><div class="gmail_quote">
2010/1/29 Glynn Clements <span dir="ltr">&lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
Kim Besson wrote:<br>
<br>
&gt; Ok I try that command and nothing seems to happen.<br>
&gt;<br>
&gt; Then I tried GRASS with DE language package and only wxGUI was translated.<br>
<br>
</div>This normally indicates that GRASS was built without NLS.<br>
<div class="im"><br>
&gt; What am I missing? Because it should be just fine...  Or what should I have<br>
&gt; to do to debug this issue?<br>
<br>
</div>1. Are you sure that NLS is enabled? I mention this because configure<br>
silently ignores unknown (e.g. mis-spelled) configure switches.<br>
<br>
Check for:<br>
<br>
        #i18N<br>
        HAVE_NLS            = 1<br>
<br>
in Platform.make and :<br>
<br>
        /* define if libintl.h exists */<br>
        #define HAVE_LIBINTL_H 1<br>
<br>
        /* define if iconv.h exists */<br>
        #define HAVE_ICONV_H 1<br>
<br>
        /* define if NLS requested */<br>
        #define USE_NLS 1<br>
<br>
in config.h.<br>
<br>
Also check for:<br>
<br>
         U bindtextdomain<br>
and:<br>
         U dgettext<br>
<br>
in the output from:<br>
<br>
        nm -D dist.i686-pc-linux-gnu/lib/libgrass_gis.so<br>
<br>
and:<br>
         U G_gettext<br>
<br>
in the output from:<br>
<br>
        nm -D dist.i686-pc-linux-gnu/bin/g.parser<br>
<br>
2. Have you re-created the .mo file after modifying the .po file? This<br>
is done with:<br>
<br>
        make -C locale mo<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Glynn Clements &lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;<br>
</div></div></blockquote></div><br></div>