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:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user