[GRASS-dev] Translations and command description/options

Panagiotis Mavrogiorgos pmav99 at gmail.com
Wed Mar 6 12:47:50 PST 2019


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
>
> Paramètres :
>       input   Carte raste 3D d'entrée pour la section de coupe
>   elevation   Carte 2D d'altitudes pour créer la carte de section de coupe
>      output   Carte raster 2D en sortie de la section de coupe
>
> Looks ok to me...
>
> Markus
>

Thank you Markus

That's also what I was expecting to see, because the strings are wrapped
with _() and they should be translated, but that's not what I observe...
Here is what happens on my PC:
https://asciinema.org/a/MWCHVRe70tpYJpFVYTMccNKdo
At 0.11 you can clearly see that command description is not translated.

So does anyone has any ideas?

Panos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190306/8a01463d/attachment.html>


More information about the grass-dev mailing list