saussact / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

i18n #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently all states are defined in specific Enumerations (e.g. OpenCloseType).

The name of the single Enumeration is reused in the ui to visualise a state as 
well. An open window is shown as "OPEN" or "CLOSED". A German user might expect 
the german translation like "auf" and "zu".

Original issue reported on code.google.com by teichsta on 30 Mar 2011 at 3:09

GoogleCodeExporter commented 9 years ago
I am implementing a solution where the status string of an item can be 
post-processed by a transformation service when being displayed in the UI.
As a simple service to cover this use case, I have added a mapping service that 
simply maps a key to a value (stored in property files), e.g. "OPEN"->"offen".

Original comment by kai.openhab on 8 Jun 2011 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 15 Jul 2011 at 8:39