amaximus / garbage-collection-card

Custom Lovelace card for Garbage Collection custom component
MIT License
128 stars 24 forks source link

[BUG] Language of Browser Prefered over Account Language #57

Closed JonahKr closed 3 years ago

JonahKr commented 3 years ago

Describe the bug I had my Browser (Chrome) language changed to german on accident which lead the card to choose the german wording altough my hass user has en-GB set as a language. I don't know if this is intentional or more of a question of which to prioritize.

To Reproduce Change Browser to different language then your Homeassistant User.

Expected behavior The Card Using the Homeassistant language.

Environment (please complete the following information):

Maybe if i have time i can create a PR if i have enough time this week...

amaximus commented 3 years ago

Using browser language for displaying the card was intentional, however I admit that Home Assistant account language preference could have been taken into consideration.

Anyway, newest release 1.16.1 addresses this issue, adding a new configuration parameter. Please update your card and get back to me with results.

JonahKr commented 3 years ago

I tried it and it works perfectly. Thank you very much 👍