🐛 Use only lang code on localization to fix not found bug
This commit is contained in:
parent
654a71e852
commit
9498d428cd
@ -35,6 +35,7 @@ class SolianApp extends StatelessWidget {
|
|||||||
supportedLocales: [Locale('en', 'US'), Locale('zh', 'CN')],
|
supportedLocales: [Locale('en', 'US'), Locale('zh', 'CN')],
|
||||||
fallbackLocale: Locale('en', 'US'),
|
fallbackLocale: Locale('en', 'US'),
|
||||||
useFallbackTranslations: true,
|
useFallbackTranslations: true,
|
||||||
|
useOnlyLangCode: true,
|
||||||
assetLoader: JsonAssetLoader(),
|
assetLoader: JsonAssetLoader(),
|
||||||
child: MultiProvider(
|
child: MultiProvider(
|
||||||
providers: [
|
providers: [
|
||||||
|
Loading…
Reference in New Issue
Block a user