Localization

main
Serdar1112 2023-06-14 02:48:02 +02:00
parent 5efcdc6514
commit 2f6ad8345e
1 changed files with 0 additions and 3 deletions

View File

@ -146,9 +146,6 @@ class SettingsState extends State<Settings> {
case "English": context.setLocale(Locale('en', 'US')); break; case "English": context.setLocale(Locale('en', 'US')); break;
case "Deutsch": context.setLocale(Locale('de', 'DE')); break; case "Deutsch": context.setLocale(Locale('de', 'DE')); break;
} }
// Hier kannst du die Spracheinstellung entsprechend anpassen
// z.B. mit einer Funktion, die die App-Sprache ändert.
}); });
}, },
items: _languages.map<DropdownMenuItem<String>>((String value) { items: _languages.map<DropdownMenuItem<String>>((String value) {