feat(translations): Activate support for some languages

Languages being activated are:
- Ukrainian
- German
- French
- Spanish
- Czech
- Polish
- Thai

Translation which are not finished will fall back to English.
pull/193/head
Inex Code 2023-02-01 01:57:55 +03:00
parent c271331f29
commit 1bde176612
1 changed files with 11 additions and 1 deletions

View File

@ -10,7 +10,17 @@ class Localization extends StatelessWidget {
final Widget? child;
@override
Widget build(final BuildContext context) => EasyLocalization(
supportedLocales: const [Locale('ru'), Locale('en')],
supportedLocales: const [
Locale('ru'),
Locale('en'),
Locale('uk'),
Locale('de'),
Locale('fr'),
Locale('es'),
Locale('cs'),
Locale('pl'),
Locale('th'),
],
path: 'assets/translations',
fallbackLocale: const Locale('en'),
useFallbackTranslations: true,