Mark a string for translation without translating it. Returns value.
Used for global strings, e.g.:
foo = N_('Hello')
class Bar:
def __init__(self):
self.local_foo = _(foo)
h.set_lang('fr')
assert Bar().local_foo == 'Bonjour'
h.set_lang('es')
assert Bar().local_foo == 'Hola'
assert foo == 'Hello'
A translator that is able to load translation catalogs from pluggable eggs.
TODO: Document me and how to create aforementioned plugins
Lazy-evaluated version of the ugettext function
None
Lazy-evaluated version of the ungettext function
None