Skip to content

Commit

Permalink
[mob] Enable translation for Ukrainian & Vietnamese (ente-io#4223)
Browse files Browse the repository at this point in the history
## Description

## Tests
  • Loading branch information
ua741 authored Nov 28, 2024
2 parents eab95b7 + 5b3a604 commit 0782b00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mobile/lib/l10n/l10n.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const List<Locale> appSupportedLocales = <Locale>[
Locale("pt", "BR"),
Locale("ru"),
Locale("tr"),
Locale("uk"),
Locale("vi"),
Locale("zh", "CN"),
];

Expand Down
4 changes: 4 additions & 0 deletions mobile/lib/ui/settings/language_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ class _ItemsWidgetState extends State<ItemsWidget> {
return '한국어';
case 'ar':
return 'العربية';
case 'uk':
return 'Українська';
case 'vi':
return 'Tiếng Việt';
default:
return locale.languageCode;
}
Expand Down

0 comments on commit 0782b00

Please sign in to comment.