[GRASS-user] Set language in Linux

Gilbert Ferrara gilbertferrara1974 at gmail.com
Wed Feb 3 13:50:33 EST 2010


What is the difference of being a child process or taking over? I mean, for
processing or data analysis?

On Wed, Feb 3, 2010 at 5:31 PM, Glynn Clements <glynn at gclements.plus.com>wrote:

>
> Markus Neteler wrote:
>
> > On Wed, Feb 3, 2010 at 1:35 PM, Gilbert Ferrara
> > <gilbertferrara1974 at gmail.com> wrote:
> > > I just want to provide GRASS64 in two languages and without the user
> has to
> > > define lang in the bash_profiles.
> > > My idea was to create 2 files: grass64eng and grass64sp each one with
> > > different language sets. So the user would have only to select the
> adequate
> > > file.
> >
> >
> > I would create
> >
> > grass64eng
> >        export LANG=en_US
> >        export LANGUAGE=en_US
> >        export LC_MESSAGES=en_US
> >        grass64 "$@"
>
> Make the last line:
>
>        exec grass64 "$@"
>
> so that the grass64 script "takes over" from the grass64eng script,
> rather than as a child process.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100203/dff28ef5/attachment.html


More information about the grass-user mailing list