Closed programmaker closed 4 years ago
Hi. I do have the dictionary with several languages and from time to time I'm adding more languages/translations. How can I get list of existing translations dynamically? (e.g. in react-native-localize we can do RNLocalize.getLocales()) Thanks.
Hi, you can call this method:
strings.getAvailableLanguages()
it returns an array of the passed languages.
Hi. I do have the dictionary with several languages and from time to time I'm adding more languages/translations. How can I get list of existing translations dynamically? (e.g. in react-native-localize we can do RNLocalize.getLocales()) Thanks.