File: i18n.rst

package info (click to toggle)
python-pyramid 1.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,112 kB
  • ctags: 8,169
  • sloc: python: 41,764; makefile: 111; sh: 17
file content (33 lines) | stat: -rw-r--r-- 665 bytes parent folder | download
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
.. _i18n_module:

:mod:`pyramid.i18n`
----------------------

.. automodule:: pyramid.i18n

  .. autoclass:: TranslationString
 
  .. 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.