[GRASS-translations] Translation of messages and errors in Scripts
glynn at gclements.plus.com
Fri May 20 09:05:45 EDT 2011
Markus Neteler wrote:
> >> And how about 6.4.0/1/2 ? It means that they are not scanned so I cannot
> >> translate them?
> > The 6.x build system doesn't support Python scripts, and no-one has
> > looked into localising shell scripts.
> I don't understand this comment.
> All GRASS scripts are translatable in GRASS 6 (and in various languages it
> is done).
The module and option descriptions are translated within g.parser. Any
messages, warnings or errors generated within the script aren't
translated. g.message doesn't perform translation; it requires the
caller to translate the message, and shell scripts don't do this
(Python scripts do).
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-translations