feat(i18n): Add Hungarian language support to ZITADEL (#8645)

- Fully translated all UI elements, documentation, and error messages
- Added Hungarian as a new supported language option
- Updated language selection menus and related configuration files
- Ensured consistency across all translated content

# Which Problems Are Solved

- ZITADEL was not accessible for Hungarian-speaking users due to lack of
language support
- Hungarian users had to rely on English or other languages to use the
platform
- Potential user base was limited due to language barrier

# How the Problems Are Solved

- Translated all user interface elements, including console and login
interfaces
- Translated all documentation files to Hungarian
- Added Hungarian translations for all error messages and notifications
- Implemented Hungarian as a selectable language option in the system

# Additional Changes

- Updated language selection menus to include Hungarian
- Modified configuration files to support Hungarian language
- Ensured consistent terminology and style across all translated content
- Added Hungarian language option to relevant dropdown menus and
settings

# Additional Context

- Relates to the ongoing internationalization efforts of ZITADEL
- Enhances accessibility for Hungarian-speaking developers and users
- Expands ZITADEL's potential user base in Hungary and
Hungarian-speaking regions

---------

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
This commit is contained in:
TrueQAP
2024-10-11 11:00:50 +02:00
committed by GitHub
parent 464ca0bd00
commit c455b8b1eb
40 changed files with 4705 additions and 17 deletions

View File

@@ -16,6 +16,7 @@ import localeZh from '@angular/common/locales/zh';
import localeRu from '@angular/common/locales/ru';
import localeNl from '@angular/common/locales/nl';
import localeSv from '@angular/common/locales/sv';
import localeHu from '@angular/common/locales/hu';
import { APP_INITIALIZER, NgModule } from '@angular/core';
import { MatNativeDateModule } from '@angular/material/core';
import { MatDialogModule } from '@angular/material/dialog';
@@ -105,6 +106,8 @@ registerLocaleData(localeNl);
i18nIsoCountries.registerLocale(require('i18n-iso-countries/langs/nl.json'));
registerLocaleData(localeSv);
i18nIsoCountries.registerLocale(require('i18n-iso-countries/langs/sv.json'));
registerLocaleData(localeHu);
i18nIsoCountries.registerLocale(require('i18n-iso-countries/langs/hu.json'));
export class WebpackTranslateLoader implements TranslateLoader {
getTranslation(lang: string): Observable<any> {

View File

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

View File

@@ -1382,7 +1382,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1383,7 +1383,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1383,7 +1383,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1383,7 +1383,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1384,7 +1384,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1383,7 +1383,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

File diff suppressed because it is too large Load Diff

View File

@@ -1261,7 +1261,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1383,7 +1383,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1383,7 +1383,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1384,7 +1384,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1382,7 +1382,8 @@
"cs": "Čeština",
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska"
"sv": "Svenska",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1382,7 +1382,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1384,7 +1384,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1427,7 +1427,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1387,7 +1387,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {

View File

@@ -1383,7 +1383,8 @@
"ru": "Русский",
"nl": "Nederlands",
"sv": "Svenska",
"id": "Bahasa Indonesia"
"id": "Bahasa Indonesia",
"hu": "Magyar"
}
},
"SMTP": {