Closed Bluhme1 closed 3 years ago
When setting the custom component sensor's verbose_state to true, the translation is not in effect as the text takes the string defined by the sensor (verbose_format).
While verbose_state is false, the translation works as shown in the attached image.
Great. I can see that that. In my card I now have "I morgen in 1 days". How do I remove the "in 1 days"
Set hide_days: true in the card.
Thank you very much. Just another feature request when you find the time and find it relevant. The number of days is important when there is some time before collecting but when it is tomorrow or today it is less relevant. So is it - perhaps - possible to have an option to hide_days only when you are in the "tomorrow / today" interval?
Good point, thanks. Implemented in version 0.13.0. Please update the card and get back to me with results.
Works great. Thank you. A minor thing. The text “in xxx days” is not translated. Is that supposed to be like that?
Right. Added translation for that part in version 1.14.0 released just now.
Please update the card and get back to me with results.
Works perfectly. Thank you again. You are awesome (and very quick). I cannot see the need for any improvement for now - but if I get an idea (or two) I will let you know
Thanks for the confirmation. I'm open for enhancements, s odo not hesitate to open new feature requests.
In Danish translation I still get "Tomorrow" and "Today" instead of the Danish words