From e4322ae0a2124092009b63cc1a5718b122db503b Mon Sep 17 00:00:00 2001 From: Thien Dang <89862334+dvbthien@users.noreply.github.com> Date: Tue, 3 Jun 2025 21:33:13 +0700 Subject: [PATCH] feat(mobile): Add new language to mobile (#18891) add pt_BR, bg, ta, te locates Co-authored-by: dvbthien --- mobile/lib/constants/locales.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mobile/lib/constants/locales.dart b/mobile/lib/constants/locales.dart index b4d4b63660c..658242ea3ad 100644 --- a/mobile/lib/constants/locales.dart +++ b/mobile/lib/constants/locales.dart @@ -5,6 +5,7 @@ const Map locales = { 'English (en)': Locale('en'), // Additional locales 'Arabic (ar)': Locale('ar'), + 'Bulgarian (bg)': Locale('bg'), 'Catalan (ca)': Locale('ca'), 'Chinese Simplified (zh_CN)': Locale.fromSubtags(languageCode: 'zh', scriptCode: 'SIMPLIFIED'), @@ -31,6 +32,7 @@ const Map locales = { 'Mongolian (mn)': Locale('mn'), 'Norwegian Bokmål (nb_NO)': Locale('nb', 'NO'), 'Polish (pl)': Locale('pl'), + 'Brazilian Portuguese (pt_BR)': Locale('pt', 'BR'), 'Portuguese (pt)': Locale('pt'), 'Romanian (ro)': Locale('ro'), 'Russian (ru)': Locale('ru'), @@ -42,6 +44,8 @@ const Map locales = { 'Slovenian (sl)': Locale('sl'), 'Spanish (es)': Locale('es'), 'Swedish (sv)': Locale('sv'), + 'Tamil (ta)': Locale('ta'), + 'Telugu (te)': Locale('te'), 'Thai (th)': Locale('th'), 'Turkish (tr)': Locale('tr'), 'Ukrainian (uk)': Locale('uk'),