Gets the available language codes: the codes in the settings dialog language list (the 6 built-in languages plus those added by addLanguage), together with the languages whose resources were injected by setTranslations.
The language codes. *
const codes = instance.UI.getAvailableLanguages(); // ['en', 'zh-CN', ...] Copy
const codes = instance.UI.getAvailableLanguages(); // ['en', 'zh-CN', ...]
Gets the available language codes: the codes in the settings dialog language list (the 6 built-in languages plus those added by addLanguage), together with the languages whose resources were injected by setTranslations.