feat: add Thai language support (#10249)

This commit is contained in:
Dos authored and GitHub committed 2024-11-25 12:59:26 +00:00
1 parent ade1545207
commit 1bd82a9b13
3 files changed
+2783 -1

No files matched your search

@@ -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" import { Language } from "./types"
export const languages: Language[] = [ export const languages: Language[] = [
@@ -38,4 +38,10 @@ export const languages: Language[] = [
ltr: true, ltr: true,
date_locale: tr, 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 pl from "./pl.json"
import ptBR from "./ptBR.json" import ptBR from "./ptBR.json"
import tr from "./tr.json" import tr from "./tr.json"
import th from "./th.json"
export default { export default {
en: { en: {
@@ -24,4 +25,7 @@ export default {
tr: { tr: {
translation: tr, translation: tr,
}, },
th: {
translation: th,
},
} }
File diff suppressed because it is too large. Load diff