class

Godot::TranslationServer

Inherits Godot::Object < Reference < Object

Godot TranslationServer singleton (TranslationServer).

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

singleton_ptr
Source

Instance methods

add_translation(translation : Translation) : Void
Source
clear
Source
compare_locales(locale_a : String, locale_b : String) : Int64
Source
find_translations(locale : String, exact : Bool) : Godot::Array
Source
format_number(number : String, locale : String) : String
Source
get_all_countries
Source
get_all_languages
Source
get_all_scripts
Source
get_country_name(country : String) : String
Source
get_language_name(language : String) : String
Source
get_loaded_locales
Source
get_locale
Source
get_locale_name(locale : String) : String
Source
get_or_add_domain(domain : String) : TranslationDomain
Source
get_percent_sign(locale : String) : String
Source
get_plural_rules(locale : String) : String
Source
get_script_name(script : String) : String
Source
get_tool_locale
Source
get_translation_object(locale : String) : Translation
Source
get_translations
Source
has_domain(domain : String) : Bool
Source
has_translation(translation : Translation) : Bool
Source
has_translation_for_locale(locale : String, exact : Bool) : Bool
Source
is_pseudolocalization_enabled
Source
parse_number(number : String, locale : String) : String
Source
pseudolocalization_enabled

Property pseudolocalization_enabled getter

Source
pseudolocalization_enabled=(val)

Property pseudolocalization_enabled setter

Source
pseudolocalization_enabled?
Source
pseudolocalize(message : String) : String
Source
reload_pseudolocalization
Source
remove_domain(domain : String) : Void
Source
remove_translation(translation : Translation) : Void
Source
set_locale(locale : String) : Void
Source
set_pseudolocalization_enabled(enabled : Bool) : Void
Source
standardize_locale(locale : String, add_defaults : Bool) : String
Source
translate(message : String, context : String) : String
Source
translate_plural(message : String, plural_message : String, n : Int64, context : String) : String
Source