Hi,
Is there a way to retrieve the language the user has set in their profile? I need to use this in a Config Flow for an Integration. I retrieve other settings from hass.config
like latitude
and longitude
. But I cannot figure out what module to call to get the language.
Did you find a solution to this Bjarne? I need to retrieve the same info.
Unfortunately I did not. I think you need to ask in Discord to get something like this answered. I never got around to it.
I tried, but no answers.
Will let you know if I find something.
Thanks.
1 Like
In frontend, there is the hass
object available and then you can just call:
hass.selectedLanguage
Thanks. That worked