Add Thai language support for various application components

- Introduced Thai translations for dashboard, knowledge, login, models, scripts, settings, skills, task, and common UI elements.
- Updated provider placeholders to include Thai language options.
- Modified locale resolution to support Thai language.
- Adjusted settings store to handle legacy language migration from Japanese to Thai.
- Enhanced runtime types to include Thai as a supported language.
This commit is contained in:
duanshuwen
2026-04-21 19:55:48 +08:00
parent 488d420e06
commit 27dc4af3b4
37 changed files with 1154 additions and 1150 deletions

View File

@@ -507,7 +507,7 @@ function formatWeekday(weekday: string, t: Translate): string {
function resolveDateLocale(locale: LanguageCode): string {
if (locale === 'zh') return 'zh-CN';
if (locale === 'ja') return 'ja-JP';
if (locale === 'th') return 'th-TH';
return 'en-US';
}