Features Wishlist
Add language support
Hello,
Can you add language support to this great project? I volunteer to do the Dutch language ;-)
Gr. Remco
Features Wishlist
Hello,
Can you add language support to this great project? I volunteer to do the Dutch language ;-)
Gr. Remco
Discussion 6
Add a commentHaha, yes! It all started Dutch. It’s on the roadmap to check with the device flash space but it’s a lot of work to make this happen. Thanks for proposing to help! Somewhere in the future it will happen.
Original on GitHub
If and when you decide to localize the interface, I am available for Italian.
Original on GitHub
You can simply take this, just like anything else.
Original on GitHub
sorry, it's not that simple, as we also have the whole editor in vue
Original on GitHub
I'm working on translations now, give me one day, and I'll add it. Then it would be nice if you can help to check the generated language files
Original on GitHub
It's in: 0.2.90 / firmware 0.2.76.
What you get, without setting anything up:
In this release: English (US), English (UK), Nederlands, Deutsch, Français, Italiano, Español, Português, Polski.
Where help is needed
Every language except English is a first draft that still needs someone who speaks it. @rhannink for Dutch and @echopage1964 for Italian — your offers still stand?
One language is one file,
screen_manager/translations/<code>.json: the screens, the editor and the app's messages together. docs/TRANSLATING.md walks through it, and you don't need Git: open the file on GitHub, press the pencil, change what's wrong and GitHub makes the pull request for you.Two things to keep in mind while reading:
screentexts about as short as the English. A CYD tile has room for about 88 pixels of text;python3 tools/i18n.py checkmeasures the lines under a tile's name in the screens' own font and says which ones are too wide.screen.ha,screen.dateorscreen.number. Those come from Home Assistant's own translations and from the Unicode CLDR. A wrong word there belongs in Home Assistant's translations; we pick it up from there.When a file has been read through, set
"checked": truein its_metablock, and say in the pull request which parts you checked.A language that isn't there yet starts with one command:
python3 tools/i18n.py new sv Svenska Swedish one_other. That writes the file with English as the starting point, the right clock and number format, and the weather days in two letters. Until such a file exists, the screens fall back to English while already using your country's clock and numbers — a Swedish Home Assistant gets1 234,5and a 24-hour clock today.Thanks @alaltitov for the pointer; the screens' side is close to what you linked, but the editor and the app's own messages needed the same treatment, so it all lives in one file per language now.
Leaving this open for the translations themselves.
Original on GitHub