mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-26 08:36:50 +08:00
fallbacklocale: Avoid using the country code
This commit is contained in:
@ -68,8 +68,8 @@ class JournalApp extends StatefulWidget {
|
|||||||
supportedLocales: [
|
supportedLocales: [
|
||||||
// Arranged Alphabetically
|
// Arranged Alphabetically
|
||||||
const Locale('de'),
|
const Locale('de'),
|
||||||
const Locale('es'),
|
|
||||||
const Locale('en'),
|
const Locale('en'),
|
||||||
|
const Locale('es'),
|
||||||
const Locale('fr'),
|
const Locale('fr'),
|
||||||
const Locale('hu'),
|
const Locale('hu'),
|
||||||
const Locale('id'),
|
const Locale('id'),
|
||||||
@ -83,7 +83,7 @@ class JournalApp extends StatefulWidget {
|
|||||||
const Locale('vi'),
|
const Locale('vi'),
|
||||||
const Locale('zh'),
|
const Locale('zh'),
|
||||||
], // Remember to update Info.plist
|
], // Remember to update Info.plist
|
||||||
fallbackLocale: const Locale('en', 'US'),
|
fallbackLocale: const Locale('en'),
|
||||||
useFallbackTranslations: true,
|
useFallbackTranslations: true,
|
||||||
path: 'assets/langs',
|
path: 'assets/langs',
|
||||||
useOnlyLangCode: true,
|
useOnlyLangCode: true,
|
||||||
|
Reference in New Issue
Block a user