Markus Neteler wrote: > On Wed, Feb 3, 2010 at 1:35 PM, Gilbert Ferrara > <gilbertferrara1...@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 <gl...@gclements.plus.com> _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user