summaryrefslogtreecommitdiff
path: root/core/translation.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/translation.h')
-rw-r--r--core/translation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/translation.h b/core/translation.h
index d172b9ecf2..834374bda6 100644
--- a/core/translation.h
+++ b/core/translation.h
@@ -105,6 +105,7 @@ public:
static Vector<String> get_all_locale_names();
static bool is_locale_valid(const String &p_locale);
static String standardize_locale(const String &p_locale);
+ static String get_language_code(const String &p_locale);
void set_tool_translation(const Ref<Translation> &p_translation);
StringName tool_translate(const StringName &p_message) const;