Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization does not work #40

Open
2 tasks done
cicero200272 opened this issue Oct 6, 2023 · 3 comments
Open
2 tasks done

Localization does not work #40

cicero200272 opened this issue Oct 6, 2023 · 3 comments
Labels
bug Something isn't working next realease Done, Waiting for next realease

Comments

@cicero200272
Copy link

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
1.1.4

Last working release (if known):
n/a

Browser and Operating System:

Description of problem:
Lights that are switched off appear as "off" although it should read "aus" (German locale). HA is set to Germany/German in settings.

Javascript errors shown in the web inspector (if applicable):


Additional information:

@cicero200272 cicero200272 added the bug Something isn't working label Oct 6, 2023
@jensrossbach
Copy link

Looks like the card uses some own localization which only supports English and Romanian. But for the standard values like 'on', 'off' etc., the card should make use of Home Assistant's localization capabilities.

@nicufarmache
Copy link
Owner

You're right. I'm going to change it to use the HA localisation in the next version

@nicufarmache
Copy link
Owner

I just found out that there is a new localisation api available from version 2023.9 https://developers.home-assistant.io/blog/2023/08/29/hass-format-state/

@nicufarmache nicufarmache added the next realease Done, Waiting for next realease label Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next realease Done, Waiting for next realease
Projects
None yet
Development

No branches or pull requests

3 participants