Replies: 1 comment 7 replies
-
This could be something for a |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've tested with the hass object a bit, turns out you can fetch the translations from Home Assistant directly.
Just an example to get the translation for the state based on the vacuum component. This fetches the current device state, detects the user language and returns the localized string.
Would be a cool feature to move to this in the long run I think. That way we would basically hook onto the way more extensive translations from HA and not worry about languages that much anymore.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions