40 RES_BASE_EXTENSION(
"xl");
50 static void _bind_methods();
55 void set_locale(
const String& p_locale);
56 _FORCE_INLINE_
String get_locale()
const {
return locale; }
60 void erase_message(
const StringName& p_src_text);
63 int get_message_count()
const;
82 bool _load_translations(
const String& p_from);
84 static void _bind_methods();
91 void set_enabled(
bool p_enabled) { enabled=p_enabled; }
92 _FORCE_INLINE_
bool is_enabled()
const {
return enabled; }
94 void set_locale(
const String& p_locale);
109 void load_translations();
114 #endif // TRANSLATION_H Definition: reference.h:78
Definition: string_db.h:48
Definition: resource.h:89
Definition: translation.h:69
Definition: translation.h:35