long1eu / long1eu/flutter_i18n

List<Locale> get supportedLocales doesn't support locales with script

Open
#73 1 comment 0 reactions 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.