Closed BebeMischa closed 1 year ago
Hi this isn't a bug, it's just that the translation hasn't been updated for the newer sensor types.
Current strings: https://github.com/dolezsa/thermal_comfort/blob/78cb2ae9f78ea2e45dbdf55cb288d93af97f09af/custom_components/thermal_comfort/translations/en.json
State of dutch translation: https://github.com/dolezsa/thermal_comfort/blob/78cb2ae9f78ea2e45dbdf55cb288d93af97f09af/custom_components/thermal_comfort/translations/nl.json
Can I help with update? If so, how would I do it?
Can I help with update?
That would be great.
If so, how would I do it?
You can go to https://github.com/dolezsa/thermal_comfort/blob/master/custom_components/thermal_comfort/translations/nl.json and press the litle pencil icon to edit the file and make a pull request. Or you can just post your translations here and i add them.
You can copy parts from the english translation: https://github.com/dolezsa/thermal_comfort/blob/78cb2ae9f78ea2e45dbdf55cb288d93af97f09af/custom_components/thermal_comfort/translations/en.json and add them to the nl.json and translate the values.
The format of the file should be pretty self explanatory, but if you have questions just ask.
The first parts like option
and config
are for the frontend. entity
-> sensor
-> sensor_name
-> state
are for the states of the sensors.
Done đŸ˜‰
Thanks for all the work on the integration.
Today I have updated to 2.0.1.
As I use the YAML way, I had to change a lot of my code, but got it working fine.
Only problem I see is, that
humidex_perception
does not translate on dashboard. My HA language is Dutch, but the sensor shows up in English. I see here on github, that a Dutch translation is present.Previous version worked fine.
This is my configuration.yaml:
Should I change something more or there is some bug?
Thank you very much in advance
Mischa
PS sorry, but whatever I do, the code won't display correctly...