Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ class WisparState extends State<Wispar> {
Locale('id'), // Indonesian
Locale('pt'), // Portuguese
Locale('de'), // German
Locale('ko'), // Korean
Locale.fromSubtags(
languageCode: 'zh',
scriptCode: 'Hans',
Expand Down
30 changes: 16 additions & 14 deletions lib/screens/display_settings_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,26 @@ class DisplaySettingsScreenState extends State<DisplaySettingsScreen> {
'id': 'Bahasa Indonesia',
'pt': 'Português',
'de': 'Deutsch',
'ko': '한국어',
'zh': '中文',
};

final List<Locale> _supportedLocales = [
Locale('en'),
Locale('fr'),
Locale('es'),
Locale('nb'),
Locale('ta'),
Locale('nl'),
Locale('fa'),
Locale('tr'),
Locale('ru'),
Locale('ja'),
Locale('id'),
Locale('pt'),
Locale('de'),
Locale('zh'),
const Locale('en'),
const Locale('fr'),
const Locale('es'),
const Locale('nb'),
const Locale('ta'),
const Locale('nl'),
const Locale('fa'),
const Locale('tr'),
const Locale('ru'),
const Locale('ja'),
const Locale('id'),
const Locale('pt'),
const Locale('de'),
const Locale('ko'),
const Locale('zh'),
];

@override
Expand Down