feat: Implement internationalization with English and Thai locales and a language switcher.

This commit is contained in:
supalerk-ar66 2026-01-19 15:51:28 +07:00
parent d6769ca1a9
commit ada40b05e8
8 changed files with 1951 additions and 3 deletions

View file

@ -0,0 +1,30 @@
{
"app": {
"title": "e-Learning System"
},
"dashboard": {
"welcomeTitle": "Welcome back",
"welcomeSubtitle": "Today is a great day to learn something new. Let's gain more knowledge!"
},
"menu": {
"continueLearning": "Continue Learning",
"recommendedCourses": "Recommended Courses",
"goToLesson": "Go to Full Lesson",
"viewDetails": "View Details",
"searchCourses": "Search courses..."
},
"course": {
"currentlyLearning": "Currently Learning",
"progress": "Progress",
"duration": "Duration"
},
"language": {
"label": "Language / ภาษา",
"thai": "ไทย",
"english": "English"
},
"common": {
"newBadge": "New",
"popularBadge": "Popular"
}
}

View file

@ -0,0 +1,30 @@
{
"app": {
"title": "ระบบ e-Learning"
},
"dashboard": {
"welcomeTitle": "ยินดีต้อนรับกลับ",
"welcomeSubtitle": "วันนี้เป็นวันที่ดีสำหรับการเรียนรู้สิ่งใหม่ๆ มาเก็บความรู้เพิ่มกันเถอะ"
},
"menu": {
"continueLearning": "เรียนต่อจากเดิม",
"recommendedCourses": "คอร์สเรียนแนะนำ",
"goToLesson": "เข้าสู่บทเรียนเต็มตัว",
"viewDetails": "ดูรายละเอียด",
"searchCourses": "ค้นหาคอร์ส..."
},
"course": {
"currentlyLearning": "กำลังเรียนอยู่",
"progress": "ความคืบหน้า",
"duration": "ระยะเวลา"
},
"language": {
"label": "ภาษา / Language",
"thai": "ไทย",
"english": "English"
},
"common": {
"newBadge": "ใหม่",
"popularBadge": "ยอดนิยม"
}
}