Change Default Language:
- Open your project, go to lib -> main.dart
- Now set your Default Language in locale and fallbackLocale
- Now Go to Splash Controller which is in lib -> controllers -> auth_controller
-> splash_controller
- In that onReady Function set default language code if no data store in local storage
- If there is no data save in storage we have set "en" you can set language code as per
your requirement
- Now Add all language dart file as per your requirement and call all language in Language
page which in lib
-> common -> languages
- Now call Language class in lib -> main.dart
- Now you can change langugae as per your requirement
- If you want to add or remove lanaguage from JSON then go to lib -> common ->
app_array
- Search languageList and remove or add as per requirement