[GRASS translations] translate d.m

Glynn Clements glynn at gclements.plus.com
Tue Oct 26 21:55:08 EDT 2004

Stephan Holl wrote:

> is there an option to translate the GUI (d.m) as well with the
> *.po-Files?

No. Tcl doesn't have a gettext binding. There is the msgcat package,
which performs a similar task; lib/gtcltk/gmsg.tcl provides an
interface to it.

However, that isn't used at present in the tcltkgrass/d.m code, so if
you want to translate the UI, you will have to msgcat-ize the code
first. OTOH, lib/init/gis_set.tcl does use it, so you can use that as
an example.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-translations mailing list