Lines Matching full: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',
64 # The gettext library supports a small subset of C syntax. The only
68 # https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms
69 # http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/plural.y
266 def gettext(self, message): member in NullTranslations
268 return self._fallback.gettext(message)
319 __builtin__.__dict__['_'] = unicode and self.ugettext or self.gettext
321 if "gettext" in names:
322 __builtin__.__dict__['gettext'] = __builtin__.__dict__['_']
394 # parameter of the Content-Type header. The gettext documentation
397 # traditional gettext applications, the msgid conversion will
419 def gettext(self, message): member in GNUTranslations
424 return self._fallback.gettext(message)
496 # Locate a .mo file using the gettext strategy
578 # current global domain, `messages' used for compatibility w/ GNU gettext
609 return t.gettext(message)
641 def gettext(message): function
655 # James Henstridge's Catalog constructor from GNOME gettext. Documented usage
658 # import gettext
659 # cat = gettext.Catalog(PACKAGE, localedir=LOCALEDIR)
660 # _ = cat.gettext
665 # gettext.