diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-04-25 00:02:12 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-04-25 00:02:12 +0000 |
| commit | 7534bae0c5eeb34a0146e76a81a9312797f6ba5c (patch) | |
| tree | 15d3fd388eb3c5538c50da20c3691a9f39ca6de3 /docs/api/i18n.rst | |
| parent | 51981a128c7ed05e51938a3f358c0970dcc33a6f (diff) | |
| download | pyramid-7534bae0c5eeb34a0146e76a81a9312797f6ba5c.tar.gz pyramid-7534bae0c5eeb34a0146e76a81a9312797f6ba5c.tar.bz2 pyramid-7534bae0c5eeb34a0146e76a81a9312797f6ba5c.zip | |
Merge i18n branch via svn merge --ignore-ancestry -r9030:9150 $REPOZE_SVN/repoze.bfg/branches/i18n
No foreigners were harmed in the coding of this feature.
Diffstat (limited to 'docs/api/i18n.rst')
| -rw-r--r-- | docs/api/i18n.rst | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/api/i18n.rst b/docs/api/i18n.rst new file mode 100644 index 000000000..6562bb13b --- /dev/null +++ b/docs/api/i18n.rst @@ -0,0 +1,31 @@ +.. _i18n_module: + +:mod:`repoze.bfg.i18n` +---------------------- + +.. automodule:: repoze.bfg.i18n + + .. autoclass:: TranslationString + + .. autoclass:: TranslationStringFactory + + .. autoclass:: Localizer + :members: + + .. attribute:: locale_name + + The locale name for this localizer (e.g. ``en`` or ``en_US``). + + .. autofunction:: get_localizer + + .. autofunction:: negotiate_locale_name + + .. autofunction:: get_locale_name + + .. autofunction:: default_locale_negotiator + +See :ref:`i18n_chapter` for more information about using +:mod:`repoze.bfg` internationalization and localization services +within an application. + + |
