To Translate the app / Change App Language, follow the below steps
- First of all, go to this link. See the available languages there and find the language code for your preferred language. e.g. ( For English (US) code is “en”, for French code is “fr”, for Russian code is “ru”).
- To change language in app, Go to Language folder and locate en.json file.
- Duplicate the en.json file and rename it with your preferred language code. e.g. ( For English (US) filename is “en.json”, for French filename is “fr.json”, for Russian filename is “ru.json”).
- You can create multiple language files as our app supports multilingual feature.
- Now open the new language file and replace all the english text values with translated texts in your desired language.
Note: Do not change id value. - Now open stringPicker.js file from the same folder. Import the new language file here and change the value of defaultLng to your preferred default language code . (See below images).
- Now open languages.json file from the same folder. Type in your language code and Language name as a key value pair.
- Our app currently supports RTL for Arabic “ar”, Urdu “ur” and Hebrew “iw”.