TranslationServer

Inherits: Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

pseudolocalization_enabled

false

Methods

void

add_translation ( Translation translation )

void

clear ( )

int

compare_locales ( String locale_a, String locale_b ) const

PackedStringArray

get_all_countries ( ) const

PackedStringArray

get_all_languages ( ) const

PackedStringArray

get_all_scripts ( ) const

String

get_country_name ( String country ) const

String

get_language_name ( String language ) const

PackedStringArray

get_loaded_locales ( ) const

String

get_locale ( ) const

String

get_locale_name ( String locale ) const

String

get_script_name ( String script ) const

String

get_tool_locale ( )

Translation

get_translation_object ( String locale )

StringName

pseudolocalize ( StringName message ) const

void

reload_pseudolocalization ( )

void

remove_translation ( Translation translation )

void

set_locale ( String locale )

String

standardize_locale ( String locale ) const

StringName

translate ( StringName message, StringName context=&”” ) const

StringName

translate_plural ( StringName message, StringName plural_message, int n, StringName context=&”” ) const


Property Descriptions

bool pseudolocalization_enabled = false

  • void set_pseudolocalization_enabled ( bool value )

  • bool is_pseudolocalization_enabled ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_translation ( Translation translation )

There is currently no description for this method. Please help us by contributing one!


void clear ( )

There is currently no description for this method. Please help us by contributing one!


int compare_locales ( String locale_a, String locale_b ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_all_countries ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_all_languages ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_all_scripts ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_country_name ( String country ) const

There is currently no description for this method. Please help us by contributing one!


String get_language_name ( String language ) const

There is currently no description for this method. Please help us by contributing one!


PackedStringArray get_loaded_locales ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_locale ( ) const

There is currently no description for this method. Please help us by contributing one!


String get_locale_name ( String locale ) const

There is currently no description for this method. Please help us by contributing one!


String get_script_name ( String script ) const

There is currently no description for this method. Please help us by contributing one!


String get_tool_locale ( )

There is currently no description for this method. Please help us by contributing one!


Translation get_translation_object ( String locale )

There is currently no description for this method. Please help us by contributing one!


StringName pseudolocalize ( StringName message ) const

There is currently no description for this method. Please help us by contributing one!


void reload_pseudolocalization ( )

There is currently no description for this method. Please help us by contributing one!


void remove_translation ( Translation translation )

There is currently no description for this method. Please help us by contributing one!


void set_locale ( String locale )

There is currently no description for this method. Please help us by contributing one!


String standardize_locale ( String locale ) const

There is currently no description for this method. Please help us by contributing one!


StringName translate ( StringName message, StringName context=&”” ) const

There is currently no description for this method. Please help us by contributing one!


StringName translate_plural ( StringName message, StringName plural_message, int n, StringName context=&”” ) const

There is currently no description for this method. Please help us by contributing one!