Hello,
I’m wondering whether you have any recommendations for creating multi-lingual version of the MainUI user interface.
I’m aware, I can change the openhab installation Locale and that will take of certain translations of automatically generated labels etc.
Question: can I set that locale differently per user? How?
I’m also aware on how to use transformations/mapping on how to translate item states into various languages.
Question here is essentially the same: how to choose a different map per user?
My main concern is on having multi-language labels, actually.
Is there the possibility to have several versions of the Item’s Label, maybe through metadata? But I would obviously like the standard cards (like oh-location-card etc.) to be able to use the appropriate language label, depending on the user’s setting.
So in general, I think it would be great to have a standard language/locale defined per user. The other option would be to store a language choice in an Item, but then I struggle, on where to store the various language labels and make the cards choose the correct one.
The use case is a rented-out holiday home, where the guests should be able to see their user interface in the resepctive language.