[GRASS-dev] Translations and command description/options

Panagiotis Mavrogiorgos pmav99 at gmail.com
Wed Mar 6 13:20:03 PST 2019


On Wed, Mar 6, 2019 at 10:53 PM Markus Neteler <neteler at osgeo.org> wrote:

> On Wed, Mar 6, 2019 at 9:48 PM Panagiotis Mavrogiorgos <pmav99 at gmail.com>
> wrote:
> > On Wed, Mar 6, 2019 at 10:26 PM Markus Neteler <neteler at osgeo.org>
> wrote:
> >>
> >> On Wed, Mar 6, 2019 at 8:20 PM Panagiotis Mavrogiorgos <
> pmav99 at gmail.com> wrote:
> >> >
> >> > hello everyone
> >> >
> >> > After activating the french locale and running GRASS GIS with
> >> >
> >> >> LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LC_MESSAGES=fr_FR.UTF-8
> bin.x86_64-pc-linux-gnu/grass77
> >>
> >> AFAIK you need to export the variables:
> >>
> >> # the content of my helper script:
> >> [mneteler at oboe ~ ]$ cat ~/bin/fr.sh
> >>  export LANG=fr_FR.UTF-8
> >>  export LANGUAGE=fr_FR.UTF-8
> >>  export LC_MESSAGES=fr_FR.UTF-8
> >>
> >> # sourcing it into the current terminal session
> >> [mneteler at oboe ~ ]$ . ~/bin/fr.sh
> >>
> >> [mneteler at oboe ~ ]$ grass77 ~/grassdata/nc_spm_08_grass7/user1
> >>           __________  ___   __________    _______________
> >>          / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
> >>         / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
> >>        / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
> >>        \____/_/ |_/_/  |_/____/____/   \____/___//____/
> >>
> >> Bienvenue dans le SIG GRASS 7.7.svn (r74163)
> >> Page d'accueil du SIG GRASS :            https://grass.osgeo.org
> >> Cette version fonctionne avec :          Bash Shell (/bin/bash)
> >> L'aide est disponible par la commande :  g.manual -i
> >> Voir les termes de la licence avec :     g.version -c
> >> Voir les termes de la licence avec :     g.version -x
> >> Démarrer l'interface graphique avec :   g.gui wxpython
> >> Lors prêt pour la fermeture entrer :    exit
> >>
> >> GRASS 7.7.svn (nc_spm_08_grass7):~ > r3.cross.rast --help
> >> Créer une section de coupe 2D depuis une carte raster 3D et une carte
> d'altitude 2D
> >>
> >> Utilisation :
> >>  r3.cross.rast [-m] input=string elevation=string output=string
> >>    [--overwrite] [--help] [--verbose] [--quiet] [--ui]
> >>
> >> Options :
> >>   -m   Utiliser le masque raster 3D (s'il existe) surnla carte en entrée
>
>
> --> what is your shell?
>
>
I use zsh. I just tried this with bash but I still don't get the
translations, so we can probably rule this out.


> GRASS 7.7.svn (nc_spm_08_grass7):~ > set | grep fr
> LANG=fr_FR
> LANGUAGE=fr_FR
> LC_ADDRESS=fr_FR.UTF-8
> LC_COLLATE=fr_FR.UTF-8
> LC_CTYPE=fr_FR.UTF-8
> LC_IDENTIFICATION=fr_FR.UTF-8
> LC_MEASUREMENT=fr_FR.UTF-8
> LC_MESSAGES=fr_FR.UTF-8
> LC_MONETARY=fr_FR.UTF-8
> LC_NAME=fr_FR.UTF-8
> LC_PAPER=fr_FR.UTF-8
> LC_TELEPHONE=fr_FR.UTF-8
> LC_TIME=fr_FR.UTF-8
>
> .. do you have the same?
>
>
Yes I believe so. Here is mine:

$ set | grep fr

LANG=fr_FR
> LANGUAGE=fr_FR
> LC_ADDRESS=fr_FR.UTF-8
> LC_COLLATE=fr_FR.UTF-8
> LC_CTYPE=fr_FR.UTF-8
> LC_IDENTIFICATION=fr_FR.UTF-8
> LC_MEASUREMENT=fr_FR.UTF-8
> LC_MESSAGES=fr_FR.UTF-8
> LC_MONETARY=fr_FR.UTF-8
> LC_NAME=fr_FR.UTF-8
> LC_PAPER=fr_FR.UTF-8
> LC_TELEPHONE=fr_FR.UTF-8
> LC_TIME=fr_FR.UTF-8
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190306/ba3e674c/attachment.html>


More information about the grass-dev mailing list