[GRASS-dev] Re: Translations not activated for wx startup screen?

Glynn Clements glynn at gclements.plus.com
Mon Nov 16 10:14:15 EST 2009


Markus Neteler wrote:

> I wonder if all the GUI code needs to be cluttered with the
> import gettext stuff? A global switch might be nicer...

Can you elaborate?

Each module needs to call gettext.install() in order to add the _()
function to the module's namespace.

However, I have no idea why gis_set.py calls it three times.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list