🌐(i18n) create package i18n

The package i18n will handle the
internationalization of the applications.
It will parse the frontend code and extract
the translations to be send to the crowdin
platform.
This commit is contained in:
Anthony LC
2024-04-02 16:19:35 +02:00
committed by Anthony LC
parent 3098b9f4fc
commit dfafd335f4
11 changed files with 297 additions and 0 deletions

View File

@@ -20,4 +20,10 @@ files: [
dest: "/backend.pot",
translation : "/backend/locale/%locale_with_underscore%/LC_MESSAGES/django.po"
},
{
source: "/frontend/packages/i18n/locales/impress/translations-crowdin.json",
dest: "/impress.json",
translation: "/frontend/packages/i18n/locales/impress/%two_letters_code%/translations.json",
skip_untranslated_strings: true,
},
]