feat: add Turkish language support (#10198)

- Turkish language support is added. 
- Updated other language files to add Turkish selection.

# Which Problems Are Solved

- Zitadel was not supporting Turkish language. Now supporting. 

# How the Problems Are Solved

- Turkish language files are added and updated other language files in
below paths to add Turkish support;
    -  /console/src/assets/i18n/
    - /internal/api/ui/login/static/i18n
    - /internal/notification/static/i18n
    - /internal/static/i18n

# Additional Changes

- Made changes below files for codes/docs changes;
    - /console/src/app/utils/language.ts
    - /console/src/app/app.module.ts
    - /docs/docs/guides/manage/customize/texts.md
- /internal/api/ui/login/static/templates/external_not_found_option.html
    - /internal/query/v2-default.json
    - /login/apps/login/src/lib/i18n.ts

---------

Co-authored-by: Marco A. <marco@zitadel.com>
This commit is contained in:
Recep YILDIZ
2025-07-18 15:18:22 +03:00
committed by GitHub
parent 1a24b10702
commit 25adfd91a2
48 changed files with 5282 additions and 58 deletions

View File

@@ -19,6 +19,7 @@ import localeSv from '@angular/common/locales/sv';
import localeHu from '@angular/common/locales/hu';
import localeKo from '@angular/common/locales/ko';
import localeRo from '@angular/common/locales/ro';
import localeTr from '@angular/common/locales/tr';
import { APP_INITIALIZER, NgModule } from '@angular/core';
import { MatNativeDateModule } from '@angular/material/core';
import { MatDialogModule } from '@angular/material/dialog';
@@ -112,6 +113,8 @@ registerLocaleData(localeKo);
i18nIsoCountries.registerLocale(require('i18n-iso-countries/langs/ko.json'));
registerLocaleData(localeRo);
i18nIsoCountries.registerLocale(require('i18n-iso-countries/langs/ro.json'));
registerLocaleData(localeTr);
i18nIsoCountries.registerLocale(require('i18n-iso-countries/langs/tr.json'));
export class WebpackTranslateLoader implements TranslateLoader {
getTranslation(lang: string): Observable<any> {

View File

@@ -18,6 +18,7 @@ export const supportedLanguages = [
'hu',
'ko',
'ro',
'tr',
];
export const supportedLanguagesRegexp: RegExp = /de|en|es|fr|id|it|ja|pl|zh|bg|pt|mk|cs|ru|nl|sv|hu|ko|ro/;
export const supportedLanguagesRegexp: RegExp = /de|en|es|fr|id|it|ja|pl|zh|bg|pt|mk|cs|ru|nl|sv|hu|ko|ro|tr/;
export const fallbackLanguage: string = 'en';

View File

@@ -1544,7 +1544,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1793,7 +1794,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Проверката на имейл е извършена",
@@ -2743,7 +2745,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Добавяне на мениджър",

View File

@@ -1545,7 +1545,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1794,7 +1795,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Ověření e-mailu dokončeno",
@@ -2757,7 +2759,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Přidat manažera",

View File

@@ -1545,7 +1545,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1794,7 +1795,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Email Verification erfolgreich",
@@ -2748,7 +2750,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Manager hinzufügen",

View File

@@ -1548,7 +1548,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1797,7 +1798,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Email verification done",
@@ -2776,7 +2778,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Add a Manager",

View File

@@ -1546,7 +1546,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1795,7 +1796,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Verificación de email realizada",
@@ -2745,7 +2747,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Añadir un Mánager",

View File

@@ -1545,7 +1545,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1794,7 +1795,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Vérification de l'e-mail effectuée",
@@ -2749,7 +2751,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Ajouter un responsable",

View File

@@ -1545,7 +1545,8 @@
"id": "Indonéz",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1792,7 +1793,8 @@
"id": "Indonéz",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "E-mail ellenőrzés kész",
@@ -2771,7 +2773,8 @@
"id": "Indonéz",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Hozzáadás egy menedzsert",

View File

@@ -1423,7 +1423,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1658,7 +1659,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Verifikasi email selesai",
@@ -2456,7 +2458,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Tambahkan Manajer",

View File

@@ -1545,7 +1545,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1794,7 +1795,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Verifica dell'e-mail terminata con successo.",
@@ -2749,7 +2751,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Aggiungi un manager",

View File

@@ -1545,7 +1545,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1794,7 +1795,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "メール認証が完了しました",
@@ -2773,7 +2775,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "マネージャーを追加する",

View File

@@ -1545,7 +1545,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1794,7 +1795,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "이메일 인증 완료",
@@ -2769,7 +2771,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "매니저 추가",

View File

@@ -1546,7 +1546,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1795,7 +1796,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Е-поштата е верифицирана",
@@ -2745,7 +2747,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Додај Менаџер",

View File

@@ -1545,7 +1545,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1794,7 +1795,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "E-mail verificatie voltooid",
@@ -2766,7 +2768,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Voeg een Manager toe",

View File

@@ -1544,7 +1544,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1793,7 +1794,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Weryfikacja adresu e-mail zakończona",
@@ -2748,7 +2750,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Dodaj managera",

View File

@@ -1546,7 +1546,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1795,7 +1796,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Verificação de email concluída",
@@ -2744,7 +2746,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Adicionar um Gerente",

View File

@@ -1543,7 +1543,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1792,7 +1793,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "Verificarea e-mailului efectuată",
@@ -2769,7 +2771,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Adăugați un manager",

View File

@@ -1590,7 +1590,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1851,7 +1852,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"LOCALE": "Код языка",
"LOCALES": {
@@ -2857,7 +2859,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Добавить менеджера",

View File

@@ -1549,7 +1549,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1798,7 +1799,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "E-postverifiering klar",
@@ -2777,7 +2779,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "Lägg till en administratör",

File diff suppressed because it is too large Load Diff

View File

@@ -1545,7 +1545,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
}
},
"SMTP": {
@@ -1793,7 +1794,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"KEYS": {
"emailVerificationDoneText": "电子邮件验证完成",
@@ -2748,7 +2750,8 @@
"id": "Bahasa Indonesia",
"hu": "Magyar",
"ko": "한국어",
"ro": "Română"
"ro": "Română",
"tr": "Türkçe"
},
"MEMBER": {
"ADD": "添加管理者",