You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated to the latest available Home Assistant version.
I have cleared the cache of my browser.
I have tried a different browser to see if it is related to my browser.
I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.
Describe the issue you are experiencing
I am using a conditional card with a markdown card in it, that shows the last change of an entity with "time_since".
The Problem is that it is not translating into my language (german) and is shown up in english.
I can't find any issues in localise, as it maybe is a hard coded thing?
Describe the behavior you expected
Translating the time like it does in the entity-popup
Steps to reproduce the issue
Use another default-language in HA instead of english
Create a boolean switch helper (or use existing one)
Go to Developer tools > template and type in "{{ time_since(states.input_boolean.##ENTITY##.last_changed, 2) }}
Tadaa, no translating. Time of last change shows up in english.
What version of Home Assistant Core has the issue?
2024.5.4
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Google Chrome 125.0.6422.76
Which operating system are you using to run this browser?
Windows 10 22H2
State of relevant entities
No response
Problem-relevant frontend configuration
- type: conditionalconditions:
- condition: stateentity: input_boolean.dummy_switchstate: 'on'card:
type: markdowncontent: >- <ha-alert alert-type="info">Der Test läuft seit {{ time_since(states.input_boolean.dummy_switch.last_changed, 2) }}</ha-alert>
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Templates are never translated, unless you call a specific function to do so. Frontend sends the template string to core, and displays what core returns after rendering the template.
If time_since does not translate on locale that would need to be a new feature request for core.
Checklist
Describe the issue you are experiencing
I am using a conditional card with a markdown card in it, that shows the last change of an entity with "time_since".
The Problem is that it is not translating into my language (german) and is shown up in english.
I can't find any issues in localise, as it maybe is a hard coded thing?
Describe the behavior you expected
Translating the time like it does in the entity-popup
Steps to reproduce the issue
What version of Home Assistant Core has the issue?
2024.5.4
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Google Chrome 125.0.6422.76
Which operating system are you using to run this browser?
Windows 10 22H2
State of relevant entities
No response
Problem-relevant frontend configuration
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: