Module gettext :: Class GNUTranslations
[hide private]
[frames] | no frames]

_ClassType GNUTranslations

NullTranslations --+
                   |
                  GNUTranslations

Instance Methods [hide private]
 
_parse(self, fp)
Override this method to support alternative .mo formats.
 
gettext(self, message)
 
lgettext(self, message)
 
ngettext(self, msgid1, msgid2, n)
 
lngettext(self, msgid1, msgid2, n)
 
ugettext(self, message)
 
ungettext(self, msgid1, msgid2, n)

Inherited from NullTranslations: __init__, add_fallback, charset, info, install, output_charset, set_output_charset

Class Variables [hide private]
  LE_MAGIC = 2500072158
  BE_MAGIC = 3725722773
Method Details [hide private]

_parse(self, fp)

 

Override this method to support alternative .mo formats.

Overrides: NullTranslations._parse

gettext(self, message)

 
Overrides: NullTranslations.gettext

lgettext(self, message)

 
Overrides: NullTranslations.lgettext

ngettext(self, msgid1, msgid2, n)

 
Overrides: NullTranslations.ngettext

lngettext(self, msgid1, msgid2, n)

 
Overrides: NullTranslations.lngettext

ugettext(self, message)

 
Overrides: NullTranslations.ugettext

ungettext(self, msgid1, msgid2, n)

 
Overrides: NullTranslations.ungettext