AmoebeLabs / swiss-army-knife-card

The versatile custom Swiss Army Knife card for Home Assistant allows you to create your unique visualization using several graphical tools, styling options and animations.
236 stars 21 forks source link

Language translations don't work always #120

Closed AmoebeLabs closed 2 years ago

AmoebeLabs commented 2 years ago

Bug report notice

Before you file a bug, make sure that you did not make a configuration mistake. The Swiss Army Knife in its current state does not yet have full configuration sanity checks!

So make sure your problem is not related to that!

Bug description

Language translations don't seem to work for a lot of cases. States are for instance for the Tommorow Pollen card are not translated. They show up like the original state: very_low, very_high, etc.

To Reproduce

Steps to reproduce the behavior:

  1. Just check the pollen card

Expected behavior

These states are translaged

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop browser (please complete the following information):

Companion App on Smartphone/Tablet (please complete the following information):

Additional context Add any other context about the problem here.

(Optional): Suggested Solution

Any suggested solution to this bug.

AmoebeLabs commented 2 years ago

Domain class translations have been added. That seems to fix all translations I can see, but there might be more of course!

But that will be part of just another issue I guess.