#include "translation_server.h"
#include "core/config/project_settings.h"
#include "core/io/resource_loader.h"
#include "core/os/os.h"
#include "core/string/locales.h"
#ifdef TOOLS_ENABLED
#include "main/main.h"
#endif
Vector<TranslationServer::LocaleScriptInfo> TranslationServer::locale_script_info;
HashMap<String, String> TranslationServer::language_map;
HashMap<String, String> TranslationServer::script_map;
HashMap<String, String> TranslationServer::locale_rename_map;
HashMap<String, String> TranslationServer::country_name_map;
HashMap<String, String> TranslationServer::variant_map;
HashMap<String, String> TranslationServer::country_rename_map;
void TranslationServer::init_locale_info() { … }
String TranslationServer::standardize_locale(const String &p_locale) const { … }
String TranslationServer::_standardize_locale(const String &p_locale, bool p_add_defaults) const { … }
int TranslationServer::compare_locales(const String &p_locale_a, const String &p_locale_b) const { … }
String TranslationServer::get_locale_name(const String &p_locale) const { … }
Vector<String> TranslationServer::get_all_languages() const { … }
String TranslationServer::get_language_name(const String &p_language) const { … }
Vector<String> TranslationServer::get_all_scripts() const { … }
String TranslationServer::get_script_name(const String &p_script) const { … }
Vector<String> TranslationServer::get_all_countries() const { … }
String TranslationServer::get_country_name(const String &p_country) const { … }
void TranslationServer::set_locale(const String &p_locale) { … }
String TranslationServer::get_locale() const { … }
String TranslationServer::get_fallback_locale() const { … }
PackedStringArray TranslationServer::get_loaded_locales() const { … }
void TranslationServer::add_translation(const Ref<Translation> &p_translation) { … }
void TranslationServer::remove_translation(const Ref<Translation> &p_translation) { … }
Ref<Translation> TranslationServer::get_translation_object(const String &p_locale) { … }
void TranslationServer::clear() { … }
StringName TranslationServer::translate(const StringName &p_message, const StringName &p_context) const { … }
StringName TranslationServer::translate_plural(const StringName &p_message, const StringName &p_message_plural, int p_n, const StringName &p_context) const { … }
TranslationServer *TranslationServer::singleton = …;
bool TranslationServer::_load_translations(const String &p_from) { … }
bool TranslationServer::has_domain(const StringName &p_domain) const { … }
Ref<TranslationDomain> TranslationServer::get_or_add_domain(const StringName &p_domain) { … }
void TranslationServer::remove_domain(const StringName &p_domain) { … }
void TranslationServer::setup() { … }
String TranslationServer::get_tool_locale() { … }
StringName TranslationServer::tool_translate(const StringName &p_message, const StringName &p_context) const { … }
StringName TranslationServer::tool_translate_plural(const StringName &p_message, const StringName &p_message_plural, int p_n, const StringName &p_context) const { … }
StringName TranslationServer::property_translate(const StringName &p_message, const StringName &p_context) const { … }
StringName TranslationServer::doc_translate(const StringName &p_message, const StringName &p_context) const { … }
StringName TranslationServer::doc_translate_plural(const StringName &p_message, const StringName &p_message_plural, int p_n, const StringName &p_context) const { … }
bool TranslationServer::is_pseudolocalization_enabled() const { … }
void TranslationServer::set_pseudolocalization_enabled(bool p_enabled) { … }
void TranslationServer::reload_pseudolocalization() { … }
StringName TranslationServer::pseudolocalize(const StringName &p_message) const { … }
#ifdef TOOLS_ENABLED
void TranslationServer::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const { … }
#endif
void TranslationServer::_bind_methods() { … }
void TranslationServer::load_translations() { … }
TranslationServer::TranslationServer() { … }