From a00044998636d96989cac777f1dc42d6845680bb Mon Sep 17 00:00:00 2001 From: Fabi Date: Fri, 14 Jun 2024 11:45:24 +0200 Subject: [PATCH] docs: add list of files that need an extension for new language contribution (#8114) Add a list of files to the contribution guidelines for a new language, which also need an extension. # Which Problems Are Solved At the moment we state where a contributor needs to add new translation files, but then some lists are missing and the language is not shown to end users. # How the Problems Are Solved Add contribution guidelines Co-authored-by: Livio Spring --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9c18c920a..f193706eb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -398,6 +398,13 @@ ZITADEL loads translations from four files: You may edit the texts in these files or create a new file for additional language support. Make sure you set the locale (ISO 639-1 code) as the name of the new language file. Please make sure that the languages within the files remain in their own language, e.g. German must always be `Deutsch. +If you have added support for a new language, please also ensure that it is added in the list of languages in all the other language files. + +You also have to add some changes to the following files: +- [Register Local File](./console/src/app/app.module.ts) +- [Add Supported Language](./console/src/app/utils/language.ts) +- [Customized Text Docs](./docs/docs/guides/manage/customize/texts.md) +- [Add language option](./internal/api/ui/login/static/templates/external_not_found_option.html) ## Want to start ZITADEL?