mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: add Thai language (#3985)
* Added Thai language * Complete Thai translation * feat: Added Thai translation --------- Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
This commit is contained in:
parent
8b81889bcf
commit
5fea801a88
1
flutter
Submodule
1
flutter
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit db7ef5bf9f59442b0e200a90587e8fa5e0c6336a
|
@ -66,6 +66,7 @@ class InitAppWidgetTask extends LaunchTask {
|
||||
Locale('pt', 'BR'),
|
||||
Locale('ru', 'RU'),
|
||||
Locale('sv'),
|
||||
Locale('th', 'TH'),
|
||||
Locale('tr', 'TR'),
|
||||
Locale('uk', 'UA'),
|
||||
Locale('ur'),
|
||||
|
@ -55,6 +55,8 @@ String languageFromLocale(Locale locale) {
|
||||
return "русский";
|
||||
case "sv":
|
||||
return "Svenska";
|
||||
case "th":
|
||||
return "ไทย";
|
||||
case "tr":
|
||||
return "Türkçe";
|
||||
case "fa":
|
||||
|
@ -16,6 +16,7 @@ const languages = [
|
||||
'pt-PT',
|
||||
'ru-RU',
|
||||
'sv-SE',
|
||||
'th-TH',
|
||||
'tr-TR',
|
||||
'zh-CN',
|
||||
'zh-TW',
|
||||
|
@ -23,6 +23,7 @@ const supportedLanguages: { key: string; title: string }[] = [
|
||||
{ key: 'pt-PT', title: 'pt-PT' },
|
||||
{ key: 'ru-RU', title: 'ru-RU' },
|
||||
{ key: 'sv', title: 'sv' },
|
||||
{ key: 'th-TH', title: 'th-TH' },
|
||||
{ key: 'tr-TR', title: 'tr-TR' },
|
||||
{ key: 'zh-CN', title: 'zh-CN' },
|
||||
{ key: 'zh-TW', title: 'zh-TW' },
|
||||
|
@ -25,6 +25,7 @@ const languages = [
|
||||
{ key: 'pt-PT', title: 'Português' },
|
||||
{ key: 'ru-RU', title: 'Русский' },
|
||||
{ key: 'sv', title: 'Svenska' },
|
||||
{ key: 'th-TH', title: 'ไทย' },
|
||||
{ key: 'tr-TR', title: 'Türkçe' },
|
||||
{ key: 'zh-CN', title: '简体中文' },
|
||||
{ key: 'zh-TW', title: '繁體中文' },
|
||||
|
1096
frontend/resources/translations/th-TH.json
Normal file
1096
frontend/resources/translations/th-TH.json
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user