Added localization for de & en
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:cabo_counter/l10n/app_localizations.dart';
|
||||
import 'package:cabo_counter/services/config_service.dart';
|
||||
import 'package:cabo_counter/services/local_storage_service.dart';
|
||||
import 'package:cabo_counter/utility/custom_theme.dart';
|
||||
@@ -50,6 +51,11 @@ class _AppState extends State<App> with WidgetsBindingObserver {
|
||||
LocalStorageService.loadGameSessions();
|
||||
|
||||
return CupertinoApp(
|
||||
localizationsDelegates: AppLocalizations.localizationsDelegates,
|
||||
supportedLocales: const [
|
||||
Locale('en'), // English
|
||||
Locale('de'), // German
|
||||
],
|
||||
theme: CupertinoThemeData(
|
||||
brightness: Brightness.dark,
|
||||
primaryColor: CustomTheme.primaryColor,
|
||||
|
||||
Reference in New Issue
Block a user