Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hanshengchiu opened this issue Jun 21, 2019 · 1 comment
Assignees

Comments

@hanshengchiu
Copy link

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')".

@noordawod
Copy link
Contributor

This is unsupported currently. If you want to submit a pr to add this functionality, it would be awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants