feat: add Turkish language support (#13670)

### What problem does this PR solve?
RAGFlow had no Turkish language support. This PR adds Turkish (tr)
locale translations to the UI.

### Type of change
- [x] New Feature (non-breaking change which adds functionality)

### What problem does this PR solve?

Co-authored-by: Mustafa YILDIZ <mustafa.yildiz@cilek.com>
This commit is contained in:
Mustafa YILDIZ
2026-03-18 16:09:32 +03:00
committed by GitHub
parent bbd0cd80e4
commit e4d8cdaff3
21 changed files with 2747 additions and 0 deletions

View File

@@ -2297,6 +2297,7 @@ export default {
russian: 'الروسية',
bulgarian: 'البلغارية',
arabic: 'العربية',
turkish: 'التركية',
},
pagination: {
total: 'الإجمالي {{total}}',

View File

@@ -2382,6 +2382,7 @@ Important structured information may include: names, dates, locations, events, k
russian: 'Руски',
bulgarian: 'Български',
arabic: 'Арабски',
turkish: 'Турски',
},
pagination: {
total: 'Общо {{total}}',

View File

@@ -22,6 +22,7 @@ const languageImports: Record<string, () => Promise<{ default: any }>> = {
[LanguageAbbreviation.It]: () => import('./it'),
[LanguageAbbreviation.Bg]: () => import('./bg'),
[LanguageAbbreviation.Ar]: () => import('./ar'),
[LanguageAbbreviation.Tr]: () => import('./tr'),
};
const supportedLanguageCodes: Intl.UnicodeBCP47LocaleIdentifier[] =

View File

@@ -2441,6 +2441,7 @@ Wichtige strukturierte Informationen können sein: Namen, Daten, Orte, Ereigniss
russian: 'Russisch',
bulgarian: 'Bulgarisch',
arabic: 'Arabisch',
turkish: 'Türkisch',
},
pagination: {
total: 'Gesamt {{total}}',

View File

@@ -37,6 +37,7 @@ export default {
italian: 'Italian',
bulgarian: 'Bulgarian',
arabic: 'Arabic',
turkish: 'Turkish',
language: 'Language',
languageMessage: 'Please input your language!',
languagePlaceholder: 'select your language',
@@ -2500,6 +2501,7 @@ Important structured information may include: names, dates, locations, events, k
russian: 'Russian',
bulgarian: 'Bulgarian',
arabic: 'Arabic',
turkish: 'Turkish',
},
pagination: {
total: 'Total {{total}}',

View File

@@ -943,6 +943,7 @@ export default {
russian: 'Ruso',
bulgarian: 'Búlgaro',
arabic: 'Árabe',
turkish: 'Turco',
},
},
};

View File

@@ -484,6 +484,7 @@ export default {
russian: 'Russe',
bulgarian: 'Bulgare',
arabic: 'Arabe',
turkish: 'Turc',
},
setting: {
profile: 'Profil',

View File

@@ -1145,6 +1145,7 @@ export default {
russian: 'Rusia',
bulgarian: 'Bulgaria',
arabic: 'Arab',
turkish: 'Turki',
},
},
};

View File

@@ -1200,6 +1200,7 @@ Quanto sopra è il contenuto che devi riassumere.`,
russian: 'Russo',
bulgarian: 'Bulgaro',
arabic: 'Arabo',
turkish: 'Turco',
},
pagination: {
total: 'Totale {{total}}',

View File

@@ -1207,6 +1207,7 @@ export default {
russian: 'ロシア語',
bulgarian: 'ブルガリア語',
arabic: 'アラビア語',
turkish: 'トルコ語',
},
},
};

View File

@@ -1207,6 +1207,7 @@ export default {
russian: 'Russo',
bulgarian: 'Búlgaro',
arabic: 'Árabe',
turkish: 'Turco',
},
},
};

View File

@@ -2046,6 +2046,7 @@ export default {
russian: 'Русский',
bulgarian: 'Болгарский',
arabic: 'Арабский',
turkish: 'Турецкий',
},
pagination: {
total: 'Всего {{total}}',

2567
web/src/locales/tr.ts Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1255,6 +1255,7 @@ export default {
russian: 'Tiếng Nga',
bulgarian: 'Tiếng Bulgaria',
arabic: 'Tiếng Ả Rập',
turkish: 'Tiếng Thổ Nhĩ Kỳ',
},
},
};

View File

@@ -1287,6 +1287,7 @@ export default {
russian: '俄語',
bulgarian: '保加利亞語',
arabic: '阿拉伯語',
turkish: '土耳其語',
},
modal: {
okText: '確認',

View File

@@ -2167,6 +2167,7 @@ Tokenizer 会根据所选方式将内容存储为对应的数据结构。`,
vietnamese: '越南语',
bulgarian: '保加利亚语',
arabic: '阿拉伯语',
turkish: '土耳其语',
},
pagination: {
total: '总共 {{total}} 条',