diff options
Diffstat (limited to 'core/translation.cpp')
-rw-r--r-- | core/translation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/translation.cpp b/core/translation.cpp index 22d873f70b..dd0f59f343 100644 --- a/core/translation.cpp +++ b/core/translation.cpp @@ -939,6 +939,10 @@ void TranslationServer::set_locale(const String& p_locale) { else { locale=univ_locale; } + + if (OS::get_singleton()->get_main_loop()) { + OS::get_singleton()->get_main_loop()->notification(MainLoop::NOTIFICATION_TRANSLATION_CHANGED); + } } String TranslationServer::get_locale() const { |