Questions Community
How to contribute with Plug-In translations?
I just installed the Waste Collection Plug-In. I am missing the German translation. So I would like to create the de.json file and give it to the community. I looked into the repo for the plugins and found the translation files. Please can someone explain to a noob like me how I can test my own json file and how to bring it to the community? Or would it be easier/faster if I send the file to someone?
Discussion 3
Add a commentThank you, a German translation is very welcome!
Where. The plugin is in plugins/waste_collection of the tessera-plugins repository. Its texts are in
translations/:en.jsonhas every key, andnl.jsonis a second example. Copyen.jsontode.json, set"_meta": {"name": "Deutsch"}and translate the values. Keep the placeholders{what}and{when}as they are; plural forms are separated by|; and keep the texts short, because a tile's second line on a 2.8-inch screen holds about 14 characters. TRANSLATIONS.md has the rules.Testing. Copy the whole
waste_collectionfolder, with yourde.json, to/config/tessera-plugins/waste_collection/, next to theesphomefolder (the Samba or File editor app can do that). The Plugins page then lists it marked Test, and the editor shows its German texts at once if your Home Assistant profile is in German. A screen that runs the published version offers Switch to your folder, which builds the screen. A screen's texts are built into its firmware in the screen's language, so the screen needs German under Settings β Language & region, and Build again after each change. When you're done, delete the folder and switch the screen back.Sharing. A pull request to the
mainbranch of tessera-plugins withtranslations/de.json. You can do it in the browser: open the translations folder on GitHub, choose Add file, and GitHub makes the fork and the pull request for you. I'll take care of the version number. If GitHub is too much, post the file here and I'll add it.Sorry for being annoying. I cannot find a folder named /config/tessera-plugins/waste_collection/ I am using Samba as well as the File-Editor App. Do I have to create the folder? Or is it even hidden or rights management?
Since I was not able to find the relevant files and folders on my HO server I post my untested de.json here: