feat: add Thai language support (#10249)

This commit is contained in:
Dos
2024-11-25 19:59:26 +07:00
committed by GitHub
parent ade1545207
commit 1bd82a9b13
3 changed files with 2783 additions and 1 deletions

View File

@@ -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,
},
]

View File

@@ -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,
},
}

File diff suppressed because it is too large Load Diff