[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.222.161.119: ~ $
===================
Kitchen.i18n Module
===================

.. automodule:: kitchen.i18n

Functions
=========

:func:`easy_gettext_setup` should satisfy the needs of most users.
:func:`get_translation_object` is designed to ease the way for anyone that
needs more control.

.. autofunction:: easy_gettext_setup

.. autofunction:: get_translation_object

Translation Objects
===================

The standard translation objects from the :mod:`gettext` module suffer from
several problems:

* They can throw :exc:`UnicodeError`
* They can't find translations for non-:term:`ASCII` byte :class:`str`
  messages
* They may return either :class:`unicode` string or byte :class:`str` from the
  same function even though the functions say they will only return
  :class:`unicode` or only return byte :class:`str`.

:class:`DummyTranslations` and :class:`NewGNUTranslations` were written to fix
these issues.

.. autoclass:: kitchen.i18n.DummyTranslations
    :members:

.. autoclass:: kitchen.i18n.NewGNUTranslations
    :members:

Filemanager

Name Type Size Permission Actions
api-collections.txt File 122 B 0644
api-exceptions.txt File 250 B 0644
api-i18n.txt File 1 KB 0644
api-iterutils.txt File 203 B 0644
api-overview.txt File 520 B 0644
api-pycompat24.txt File 1.02 KB 0644
api-pycompat25.txt File 173 B 0644
api-pycompat27.txt File 1.12 KB 0644
api-text-converters.txt File 18.26 KB 0644
api-text-display.txt File 912 B 0644
api-text-misc.txt File 48 B 0644
api-text-utf8.txt File 65 B 0644
api-text.txt File 707 B 0644
api-versioning.txt File 146 B 0644
designing-unicode-apis.txt File 30.6 KB 0644
glossary.txt File 4.21 KB 0644
hacking.txt File 13.22 KB 0644
index.txt File 5.77 KB 0644
porting-guide-0.3.txt File 9.26 KB 0644
tutorial.txt File 828 B 0644
unicode-frustrations.txt File 26.33 KB 0644