How to add new translation keys into HA?

Hi

I’ve implemented a new small functionality I would like to PR soon to the main Github repo, and I added some new text that needs to be translated.

The documentation is not really clear on how to proceed, and the links provided are broken (see this page, link for the Lokalize workflow.

I added keys in the source code, the translation in the translations/en.json and it works well locally, but in the readme it is said to not modify these files directly, and to fetch them with a script… But how to add them into the Lokalise project ? Is there a script that will upload localization keys ?

I don’t really know which is the correct end to handle this :sweat_smile:

Can someone help me on this ? Then I’ll propose my PR :slight_smile:

1 Like