How to get specific language translations without TranslationServer.set_locale() method

Godot Version

4.4.1

Question

In ui design principles, it is recommended that -when selecting language- all language names should be written in their respective languages. So i need to write language names in all available languages from my .csv file. How to get translated strings for specific languages without TranslationServer.set_locale() method?

1 Like

Haven’t tested it but you can get the Translation object with TranslationServer.get_translation_object() and then use Translation.get_message() to get the translated string.