summaryrefslogtreecommitdiff
path: root/doc/source/reference/index.rst
blob: 99ead69ef9f70dc30242a412c8e7925d5878d691 (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
35
36
37
38
39
40
41
.. _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: