Hello,
While writing my AirZone addon, I have created a airzone.properties
file located in the src\main\resources\OH-INF\i18n
folder. It gets used just fine, but I have noticed that I have some identical words / sentences associated to multiple keys. For instance, I have this:
channel-options.airzone.zone.sleep.off = Off
channel-options.airzone.zone.air-quality-mode.off = Off
channel-options.airzone.zone.air-quality.off = Off
channel-options.airzone.zone.eco-adapt.off = Off
I feels a bit cumbersome to require translators to repeat 4 times the translation for Off, when it’s the same in all cases.
I was thinking of creating a single key like this:
channel-options.airzone...off = Off
But is that considered a good practice in the openHAB environment?