Skip to content

Commit a44bd71

Browse files
authoredMar 30, 2023
Add thai language i18n (#6103)
1 parent 19bcd04 commit a44bd71

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed
 

‎src/node/i18n/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import i18next, { init } from "i18next"
22
import * as en from "./locales/en.json"
33
import * as zhCn from "./locales/zh-cn.json"
4-
4+
import * as th from "./locales/th.json"
55
init({
66
lng: "en",
77
fallbackLng: "en", // language to use if translations in user language are not available.
@@ -15,6 +15,9 @@ init({
1515
"zh-cn": {
1616
translation: zhCn,
1717
},
18+
th: {
19+
translation: th,
20+
},
1821
},
1922
})
2023

‎src/node/i18n/locales/th.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"LOGIN_TITLE": "เข้าสู่ระบบ {{app}}",
3+
"LOGIN_BELOW": "กรุณาเข้าสู่ระบบด้านล่าง",
4+
"WELCOME": "ยินดีต้อนรับสู่ {{app}}",
5+
"LOGIN_PASSWORD": "ตรวจสอบไฟล์กำหนดค่าที่ {{configFile}} เพื่อดูรหัสผ่าน",
6+
"LOGIN_USING_ENV_PASSWORD": "รหัสผ่านถูกกำหนดเป็น $PASSWORD",
7+
"LOGIN_USING_HASHED_PASSWORD": "รรหัสผ่านถูกกำหนดเป็น $HASHED_PASSWORD",
8+
"SUBMIT": "ส่ง",
9+
"PASSWORD_PLACEHOLDER": "รหัสผ่าน",
10+
"LOGIN_RATE_LIMIT": "ถึงขีดจำกัดอัตราการเข้าสู่ระบบ!",
11+
"MISS_PASSWORD": "รหัสผ่านหายไป",
12+
"INCORRECT_PASSWORD": "รหัสผ่านไม่ถูกต้อง"
13+
}

0 commit comments

Comments
 (0)
Please sign in to comment.