long1eu / long1eu/flutter_i18n
List<Locale> get supportedLocales doesn't support locales with script
Open
@noordawod is already working on this.
Since Sep 30, 2019.
enhancement
- Dominant language
- Dart
- Stars
- 248
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
When I created an .arb like strings_zh_Hant_TW.arb, a wrong entry "Locale("zh", "")" was created in supportedLocales. The correct one should be "Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hant', countryCode: 'TW')".
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.