Server that manages all translations. Server that manages all translations. Translations can be set to it and removed from it. $DOCS_URL/tutorials/i18n/internationalizing_games.html $DOCS_URL/tutorials/i18n/locales.html Adds a [Translation] resource. Clears the server from all translations. Returns an array of all loaded locales of the project. Returns the current locale of the project. See also [method OS.get_locale] and [method OS.get_locale_language] to query the locale of the user system. Returns a locale's language and its variant (e.g. [code]"en_US"[/code] would return [code]"English (United States)"[/code]). Removes the given translation from the server. Sets the locale of the project. The [code]locale[/code] string will be standardized to match known locales (e.g. [code]en-US[/code] would be matched to [code]en_US[/code]). If translations have been loaded beforehand for the new locale, they will be applied.