[GRASS-user] Set language in Linux

Gilbert Ferrara gilbertferrara1974 at gmail.com
Thu Jan 28 13:18:55 EST 2010


Ok...
At /usr/share/i18n/locales/ I have several Files so that might not be the
problem. Or is it? (Now I'm a bit lost in this locations vs Translations).


>Generally, the locale is set on a per-user basis. If you want to set
>the locale for individual processes, you have to set LANG/LC_*
>yourself, e.g. providing a script which sets the variables before
>invoking the application.
So I can have a script that, as example, reads  third parameter (grass64
-wxpython ES_es) and set the LANGUAGE as Spanish?
Thank you

On Thu, Jan 28, 2010 at 1:38 PM, Glynn Clements <glynn at gclements.plus.com>wrote:

>
> Gilbert Ferrara wrote:
>
> > 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:
> > (process:2196): Gdk-WARNING **: locale not supported by C library
> >
> > (process:2196): Gtk-WARNING **: Locale not supported by C library.
> > Using the fallback 'C' locale.
> >
> > What it might be?
>
> This suggests that you don't have the necessary locale files
> installed; look in /usr/share/i18n/locales. Some distributions only
> support UTF-8 locales, in which case you may need to use es_ES.UTF-8.
>
> > By the way, How can I have 2 language sets I mean 2 different launchers
> with
> > 2 different languages?
>
> Launchers?
>
> Generally, the locale is set on a per-user basis. If you want to set
> the locale for individual processes, you have to set LANG/LC_*
> yourself, e.g. providing a script which sets the variables before
> invoking the application.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100128/347639b8/attachment.html


More information about the grass-user mailing list