TranslationServer

Inherits: Object

Category: Core

Brief Description

Server that manages all translations. Translations can be set to it and removed from it.

Member Functions

void add_translation ( Translation translation )
void clear ( )
String get_locale ( ) const
void remove_translation ( Translation translation )
void set_locale ( String locale )
String translate ( String message ) const

Member Function Description

void add_translation ( Translation translation )

void clear ( )

String get_locale ( ) const

void remove_translation ( Translation translation )

void set_locale ( String locale )

String translate ( String message ) const

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_translationserver.html