12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the TranslationServer.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_TranslationServer:
- TranslationServer
- =================
- **Inherits:** :ref:`Object<class_object>`
- **Category:** Core
- Brief Description
- -----------------
- Server that manages all translations. Translations can be set to it and removed from it.
- Member Functions
- ----------------
- +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`add_translation<class_TranslationServer_add_translation>` **(** :ref:`Translation<class_translation>` translation **)** |
- +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`clear<class_TranslationServer_clear>` **(** **)** |
- +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`String<class_string>` | :ref:`get_locale<class_TranslationServer_get_locale>` **(** **)** const |
- +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`String<class_string>` | :ref:`get_locale_name<class_TranslationServer_get_locale_name>` **(** :ref:`String<class_string>` locale **)** const |
- +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`remove_translation<class_TranslationServer_remove_translation>` **(** :ref:`Translation<class_translation>` translation **)** |
- +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`set_locale<class_TranslationServer_set_locale>` **(** :ref:`String<class_string>` locale **)** |
- +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`String<class_string>` | :ref:`translate<class_TranslationServer_translate>` **(** :ref:`String<class_string>` message **)** const |
- +------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
- Member Function Description
- ---------------------------
- .. _class_TranslationServer_add_translation:
- - void **add_translation** **(** :ref:`Translation<class_translation>` translation **)**
- .. _class_TranslationServer_clear:
- - void **clear** **(** **)**
- .. _class_TranslationServer_get_locale:
- - :ref:`String<class_string>` **get_locale** **(** **)** const
- .. _class_TranslationServer_get_locale_name:
- - :ref:`String<class_string>` **get_locale_name** **(** :ref:`String<class_string>` locale **)** const
- .. _class_TranslationServer_remove_translation:
- - void **remove_translation** **(** :ref:`Translation<class_translation>` translation **)**
- .. _class_TranslationServer_set_locale:
- - void **set_locale** **(** :ref:`String<class_string>` locale **)**
- .. _class_TranslationServer_translate:
- - :ref:`String<class_string>` **translate** **(** :ref:`String<class_string>` message **)** const
|