App settings & custom display language

This commit is contained in:
2025-05-10 14:09:25 +08:00
parent a9cfbe7817
commit e4c6477bba
11 changed files with 394 additions and 112 deletions

View File

@ -54,7 +54,11 @@ void main() async {
child: Directionality(
textDirection: TextDirection.ltr,
child: EasyLocalization(
supportedLocales: [Locale('en', 'US')],
supportedLocales: [
Locale('en', 'US'),
Locale('zh', 'CN'),
Locale('zh', 'TW'),
],
path: 'assets/i18n',
fallbackLocale: Locale('en', 'US'),
useFallbackTranslations: true,