Translation of log messages and other strings in local language

Hello,

A few months ago I developed an integration for Home Assistant which is part of HACS. I wanted to translate the configuration messages, options, entities and services. For all this I used the strings.json file and the national files that go with it (es.json, fr.json, en.json in particular). But I have other strings to translate that I use for example for the description of calendar events that I implemented as part of this integration. Also, I would like to translate the messages that make up my log.
But I don’t know how to do it, may I use strings.json by extension ? should I fall back to gettext or l10n ?

please advice :slightly_smiling_face:

1 Like