
Change-Id: Ibe6548b444a8f030ea7ba034b7d63622e32d3917 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
42 lines
628 B
ReStructuredText
42 lines
628 B
ReStructuredText
.. _api:
|
|
|
|
===============
|
|
oslo.i18n API
|
|
===============
|
|
|
|
oslo_i18n
|
|
=========
|
|
|
|
.. automodule:: oslo_i18n
|
|
|
|
.. autoclass:: oslo_i18n.TranslatorFactory
|
|
:members:
|
|
|
|
.. seealso::
|
|
|
|
An example of using a :class:`TranslatorFactory` is provided in
|
|
:ref:`integration-module`.
|
|
|
|
.. autofunction:: oslo_i18n.enable_lazy
|
|
|
|
.. seealso::
|
|
|
|
:ref:`lazy-translation`
|
|
|
|
.. autofunction:: oslo_i18n.translate
|
|
|
|
.. autofunction:: oslo_i18n.get_available_languages
|
|
|
|
oslo_i18n.log
|
|
=============
|
|
|
|
.. automodule:: oslo_i18n.log
|
|
:members:
|
|
|
|
oslo_i18n.fixture
|
|
=================
|
|
|
|
.. automodule:: oslo_i18n.fixture
|
|
:members:
|
|
:special-members:
|