mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 08:37:34 +00:00
fix(console): fallback to default language if browser language not supported (#5999)
fix: fallback to default language if browser language not supported
This commit is contained in:
3
console/src/app/utils/language.ts
Normal file
3
console/src/app/utils/language.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const supportedLanguages = ['de', 'en', 'es', 'fr', 'it', 'ja', 'pl', 'zh'];
|
||||
export const supportedLanguagesRegexp: RegExp = /de|en|es|fr|it|ja|pl|zh/;
|
||||
export const fallbackLanguage: string = 'en';
|
Reference in New Issue
Block a user