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 ==> There was no output with bindtextdomain</div>
<div>U dgettext==> 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 ==> Nothing with gettext...</div>
<div><br></div><div>So, what the prognosis? :)</div><div><br></div><div>I didn't modified po files. I just using mo files installed by GRASS svn6.4.0, so I'm not touching them</div></div><div><br><div class="gmail_quote">
2010/1/29 Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>></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>
> Ok I try that command and nothing seems to happen.<br>
><br>
> 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>
> What am I missing? Because it should be just fine... Or what should I have<br>
> 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 <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</div></div></blockquote></div><br></div>