Setup Multi-Language
Last updated
Last updated
Add json for new language into folder /i18n. Ex: en.json
Open lib/main.dart
Add Locale of new language here.
Open lib/localization/Localized.dart
Add your language code in to this array. Ex: ["en", "vn", "fr"]
Open lib/localization/LocalizedKey.dart
Add key here.
How to use?
In Text component: