mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 07:07:32 -04:00
fix: put back Russian language
set EasyLocalization to not save language locally.
This commit is contained in:
parent
62bafce0b2
commit
1796d0a448
1 changed files with 5 additions and 2 deletions
|
@ -29,13 +29,16 @@ class AppWidgetTask extends LaunchTask {
|
|||
runApp(
|
||||
EasyLocalization(
|
||||
supportedLocales: const [
|
||||
// In alphabetical order
|
||||
Locale('en'),
|
||||
Locale('zh', 'CN'),
|
||||
Locale('it', 'IT'),
|
||||
Locale('fr', 'CA'),
|
||||
Locale('it', 'IT'),
|
||||
Locale('ru', 'RU'),
|
||||
Locale('zh', 'CN'),
|
||||
],
|
||||
path: 'assets/translations',
|
||||
fallbackLocale: const Locale('en'),
|
||||
saveLocale: false,
|
||||
child: app,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue