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

@@ -57,6 +57,7 @@ export const LanguageList = [
'Italian',
'Bulgarian',
'Arabic',
'Turkish',
];
export const LanguageMap = {
English: 'English',
@@ -74,6 +75,7 @@ export const LanguageMap = {
Italian: 'Italiano',
Bulgarian: 'Български',
Arabic: 'العربية',
Turkish: 'Türkçe',
};
export enum LanguageAbbreviation {
@@ -91,6 +93,7 @@ export enum LanguageAbbreviation {
It = 'it',
Bg = 'bg',
Ar = 'ar',
Tr = 'tr',
}
export const LanguageAbbreviationMap = {
@@ -108,6 +111,7 @@ export const LanguageAbbreviationMap = {
[LanguageAbbreviation.It]: 'Italiano',
[LanguageAbbreviation.Bg]: 'Български',
[LanguageAbbreviation.Ar]: 'العربية',
[LanguageAbbreviation.Tr]: 'Türkçe',
};
export const LanguageTranslationMap = {
@@ -136,6 +140,7 @@ export const LanguageTranslationMap = {
Ukrainian: 'uk',
Bulgarian: 'bg',
Arabic: 'ar',
Turkish: 'tr',
};
export enum FileMimeType {