Hello Glynn<div>Thanks for the tip regarding LC_ALL</div><div><br></div><div>I tryed to add LANG=es_ES LANGUAGE=es_ES to my /usr/local/grass-6.4.0svn/etc/init.sh and I got the following at my terminal window:</div><div><div>
(process:2196): Gdk-WARNING **: locale not supported by C library</div><div><br></div><div>(process:2196): Gtk-WARNING **: Locale not supported by C library.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Using the fallback &#39;C&#39; locale.</div>
<div><br></div><div>What it might be?</div><div><br></div><div>By the way, How can I have 2 language sets I mean 2 different launchers with 2 different languages?</div><div><br></div><div><br></div></div><div><br><div class="gmail_quote">
On Wed, Jan 6, 2010 at 7:29 PM, Glynn Clements <span dir="ltr">&lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
Gilbert Ferrara wrote:<br>
<br>
&gt; I want to set GRASS LANGUAGE in a LINUX installation. In Windows is quite<br>
&gt; easy, just add the following in .../etc/init.bat:<br>
&gt;<br>
&gt; set LANGUAGE=es_ES<br>
&gt;<br>
&gt; set LANG=es_ES<br>
&gt;<br>
&gt; set LC_ALL=es_ES<br>
&gt;<br>
&gt; And in LINUX, how is it done? Just add the same text in .../etc/init.sh and<br>
&gt; it&#39;s finished or do I have to do something to this file?<br>
<br>
</div></div>These would normally be set in e.g. ~/.profile (or ~/.bash_profile<br>
etc; there are quite a lot of files which may be read by the shell)<br>
then inherited by all processes.<br>
<br>
Setting environment variables in Unix is done with e.g.:<br>
<br>
        LANG=es_ES<br>
        export LANG<br>
<br>
I&#39;d advise against using LC_ALL, as it overrides LC_NUMERIC. This can<br>
cause numbers to use a comma as the decimal separator, which is<br>
problematic when writing files (most file formats require a period).<br>
<br>
GRASS modules only use the LC_MESSAGES category directly, but some<br>
programs and (especially) scripts invoke external programs which may<br>
be affected by the LC_NUMERIC or LC_ALL settings (scripts which use<br>
awk are prone to this, although I think that we have now found them<br>
all and forced LC_NUMERIC=C).<br>
<font color="#888888"><br>
--<br>
Glynn Clements &lt;<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>&gt;<br>
</font></blockquote></div><br></div>