We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 963dd32 commit 2fa7a40Copy full SHA for 2fa7a40
mobile/lib/constants/locales.dart
@@ -6,8 +6,10 @@ const Map<String, Locale> locales = {
6
// Additional locales
7
'Arabic (ar)': Locale('ar'),
8
'Catalan (ca)': Locale('ca'),
9
- 'Chinese Simplified (zh_CN)': Locale('zh', 'CN'),
10
- 'Chinese Traditional (zh_TW)': Locale('zh', 'TW'),
+ 'Chinese Simplified (zh_CN)':
+ Locale.fromSubtags(languageCode: 'zh', scriptCode: 'SIMPLIFIED'),
11
+ 'Chinese Traditional (zh_TW)':
12
+ Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hant'),
13
'Czech (cs)': Locale('cs'),
14
'Danish (da)': Locale('da'),
15
'Dutch (nl)': Locale('nl'),
0 commit comments