Internalisation
Localisation requires the Flutter Intl plugin (available on VSCode and IntelliJ marketplaces) Needs to be installed to properly add and manage new supported locales
- Flutter Intl on Android Studio (IntelliJ)
- Flutter Intl on VSCode
Check this URL for information :
https://marketplace.visualstudio.com/items?itemName=localizely.flutter-intl
- Initialise, cmd-vscode : Flutter Intl: Initialize
- ios/Runner/Info.plist add
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
<string>fr_FR</string>
...
</array>
- Add language, cmd-vscode : Flutter Intl: Add locale
To check plural :
https://pub.dev/documentation/intl/latest/intl/Intl/plural.html
To check gender :
https://pub.dev/documentation/intl/latest/intl/Intl/gender.html
Other demo :
https://github.com/localizely/flutter-intl-plugin-sample-app
Youtube video :
https://www.youtube.com/watch?v=MQo32dQxxjg
Localizely :
https://localizely.com/flutter-localization-workflow/
Connecting with Localizely ID project and Key did not work. Import / export arb