pygettext examples?
Trond Eivind Glomsrød
teg at redhat.com
Mon Dec 3 10:43:27 EST 2001
More information about the Python-list mailing list
Mon Dec 3 10:43:27 EST 2001
- Previous message (by thread): Win98 PySol/Python Problems II
- Next message (by thread): pygettext examples?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Martin von Loewis <loewis at informatik.hu-berlin.de> writes: > teg at redhat.com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=) writes: > > > gettext.textdomain(PROGNAME) > > _=gettext.gettext > > I would recommend against setting the textdomain globally. Instead, > always use dgettext. That makes it possible to use your code as a > library in a different program as well, with little coding overhead. The code was snipped from a small startup program using those libraries :) -- Trond Eivind Glomsrød Red Hat, Inc.
- Previous message (by thread): Win98 PySol/Python Problems II
- Next message (by thread): pygettext examples?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list