Translations/Localization
The localazy service is used to manage translations. In this service created project with name HyperPortal and namespace with name "common" inside a project.
In code of hyper-cloud repo used single place for all localization files: services/hyperportal/src/common/messages/ All localisation files has names of locale: en, de, fr, it, nl
Need to create file localazy.json based on localazy.json.example in project by path services/hyperportal/scripts/translate/, readKeycan be recieved from the Slack chanel team-dev-frontend.
If you want to make some changes to the localazy.json file, firstly need to follow the manual of the localazy docs.
Files must be generated using script: yarn run translations:update This script download the localizations from localazy as one converted.json split them by languages and save them into separate locale files in services/hyperportal/src/common/messages/.
To manage localizations, you need to:
- Register account and request access to localazy project HyperPortal from Ilya Volkov
- Add new localization keys with translations, save new translations
- Execute the script: yarn run translations:update