amaximus / garbage-collection-card

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

[BUG] Can't get swedish language to work #90

Closed yabbah closed 2 years ago

yabbah commented 2 years ago

Describe the bug I have hass_lang_priority: true in the card config. But it wont change to swedish even tho I see the sv.json-file.

To Reproduce Steps to reproduce the behavior: Change language of HA to swedish and you'll see it show the date and days in english.

Expected behavior It should show the message in swedish

Screenshots image

image

Environment (please complete the following information):

Additional context .

amaximus commented 2 years ago

Please make sure you are not using the verbose_state: true.

I could not reproduce the issue with card version 1.20.1 (and Garbage Collection integration on version 4.2) in Chrome:

garbage_sv

If the issue still persists, please provide the version of the Garbage Collection integration and the configuration of one of the garbage sensors.

yabbah commented 2 years ago

Ah, it was the sensor in Garabage Collection integration which had verbose_state activated. Thank you for pointing me right :)