feat: add Thai language support (#10249)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { de, enUS, es, pl, ptBR, tr } from "date-fns/locale"
|
||||
import { de, enUS, es, pl, ptBR, tr, th } from "date-fns/locale"
|
||||
import { Language } from "./types"
|
||||
|
||||
export const languages: Language[] = [
|
||||
@@ -38,4 +38,10 @@ export const languages: Language[] = [
|
||||
ltr: true,
|
||||
date_locale: tr,
|
||||
},
|
||||
{
|
||||
code: "th",
|
||||
display_name: "ไทย",
|
||||
ltr: true,
|
||||
date_locale: th,
|
||||
},
|
||||
]
|
||||
|
||||
@@ -4,6 +4,7 @@ import es from "./es.json"
|
||||
import pl from "./pl.json"
|
||||
import ptBR from "./ptBR.json"
|
||||
import tr from "./tr.json"
|
||||
import th from "./th.json"
|
||||
|
||||
export default {
|
||||
en: {
|
||||
@@ -24,4 +25,7 @@ export default {
|
||||
tr: {
|
||||
translation: tr,
|
||||
},
|
||||
th: {
|
||||
translation: th,
|
||||
},
|
||||
}
|
||||
|
||||
2772
packages/admin/dashboard/src/i18n/translations/th.json
Normal file
2772
packages/admin/dashboard/src/i18n/translations/th.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user