Home | History | Annotate | Download | only in Lib

Lines Matching defs:gettext

4 support for your Python programs by providing an interface to the GNU gettext

18 # gettext.py implementation.
24 # James Henstridge, who also wrote a gettext.py module, which has some
43 # you'll need to study the GNU gettext code to do this.
56 'dgettext', 'dngettext', 'gettext', 'lgettext', 'ldgettext',
193 def gettext(self, message):
195 return self._fallback.gettext(message)
246 __builtin__.__dict__['_'] = unicode and self.ugettext or self.gettext
248 if "gettext" in names:
249 __builtin__.__dict__['gettext'] = __builtin__.__dict__['_']
321 # parameter of the Content-Type header. The gettext documentation
324 # traditional gettext applications, the msgid conversion will
346 def gettext(self, message):
351 return self._fallback.gettext(message)
423 # Locate a .mo file using the gettext strategy
505 # current global domain, `messages' used for compatibility w/ GNU gettext
536 return t.gettext(message)
568 def gettext(message):
582 # James Henstridge's Catalog constructor from GNOME gettext. Documented usage
585 # import gettext
586 # cat = gettext.Catalog(PACKAGE, localedir=LOCALEDIR)
587 # _ = cat.gettext
592 # gettext.