blob: 7a61246dff288f542563fcdda8486c52c7272322 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
.. _i18n_module:
:mod:`pyramid.i18n`
----------------------
.. automodule:: pyramid.i18n
.. autoclass:: TranslationString
:noindex:
.. autofunction:: 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
.. autofunction:: make_localizer
See :ref:`i18n_chapter` for more information about using
:app:`Pyramid` internationalization and localization services within
an application.
|