Updating or Adding Translations
We use yaml8n for our translations.
Homechart generates translations from the translations.yaml file. It’s a big file, but it lets you see everything there is to translate in Homechart.
There are additional shared translations that Homchart uses in shared_web.yaml
Checkout the yaml8n docs for more information.
The syntax for the file is easy to understand:
defaultcode: en # English is the default/fallback language iso639codes: # A list of the ISO-639 codes and the display name for them de: Deutsch en: English translations: # A list of translation objects. The objects contain context and a translation for each of the iso639codes EmailEmailAddressChangeConfirmationSubject: context: Subject for email address changes de: '[Aktion erforderlich] Bestätigen Sie Ihre aktualisierte E-Mail-Adresse' en: | [Action Required] Verify Your Updated Email Address
Adding a new language
To add a new language, please contact us. You can add it to the translations.yaml, but we have tooling that can generate the translations first and then have you review them.
You can update the translations if you notice something in Homechart that isn’t translated correctly. Checkout this git repo (or the shared one for shared translations) and open a pull request with your changes. You should be able to search the document to find the original translation.