mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 13:52:51 +00:00
- 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. <[email protected]>
25 lines
356 B
TypeScript
25 lines
356 B
TypeScript
export const supportedLanguages = [
|
|
'de',
|
|
'en',
|
|
'es',
|
|
'fr',
|
|
'id',
|
|
'it',
|
|
'ja',
|
|
'pl',
|
|
'zh',
|
|
'bg',
|
|
'pt',
|
|
'mk',
|
|
'cs',
|
|
'ru',
|
|
'nl',
|
|
'sv',
|
|
'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|tr/;
|
|
export const fallbackLanguage: string = 'en';
|