Server that manages all translations.
Server that manages all translations. Translations can be set to it and removed from it.
https://docs.godotengine.org/en/latest/tutorials/i18n/internationalizing_games.html
https://docs.godotengine.org/en/latest/tutorials/i18n/locales.html
Adds a [Translation] resource.
Clears the server from all translations.
Returns an Array of all loaded locales of the game.
Returns the current locale of the game.
Returns a locale's language and its variant (e.g. [code]"en_US"[/code] would return [code]"English (United States)"[/code]).
Returns the [Translation] instance based on the [code]locale[/code] passed in.
It will return a [code]nullptr[/code] if there is no [Translation] instance that matches the [code]locale[/code].
Returns the pseudolocalized string based on the [code]p_message[/code] passed in.
Reparses the pseudolocalization options and reloads the translation.
Removes the given translation from the server.
Sets the locale of the game.
Returns the current locale's translation for the given message (key) and context.
Returns the current locale's translation for the given message (key), plural_message and context.
The number [code]n[/code] is the number or quantity of the plural object. It will be used to guide the translation system to fetch the correct plural form for the selected language.
If [code]true[/code], enables the use of pseudolocalization. See [member ProjectSettings.internationalization/pseudolocalization/use_pseudolocalization] for details.