HestiaPi / hestia-touch-openhab

OpenHAB2 files for HestiaPi Touch model
GNU General Public License v3.0
60 stars 17 forks source link

Internationalization - Language support #60

Open jaythomas opened 3 years ago

jaythomas commented 3 years ago

I don't know if binding texts are set up for it, but I noticed you can set the language in the Paper UI. This blog post made me think it would be nice to have I18N support on the touchscreen too. To accomplish that, we would need an MQTT event to send the preferred language to the frontend and the UI can store a dictionary map to look up the words for different languages. I haven't thought through RTL text yet, but English and Spanish would be a good start. Thoughts?

gulliverrr commented 3 years ago

Sounds fairly straight forward... Will look into it