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

Select Card options show in default language instead of translation #1040

Open
pcr-coding opened this issue Dec 13, 2024 · 4 comments
Open
Labels
bug Something isn't working Bug-Fix 🥳

Comments

@pcr-coding
Copy link

Describe the bug
The select menu does not show the options in the correct language, while the state in the card indeed does show it correctly by default.
I can select "sweeping and mopping" and then the state shows automatically "Saugen und Wischen" (in German, which is the language I use in Home Assistant). So the state is shown correctly but the options not.

To Reproduce
Choose some entity where the options you can select have some translated options and create a bubble card.
This happens with any entity that has translations.

Expected behavior
I expect the options to show the translated version instead of the default language, as well as it does in the state.

Screenshots
Screenshot 2024-12-13 103349

YAML
YAML code of the card I used.

type: custom:bubble-card
card_type: select
entity: select.x40_ultra_complete_cleaning_mode
show_state: true
show_last_changed: false
show_attribute: false
force_icon: false
show_icon: true
scrolling_effect: true
name: Cleaning Mode
columns: 2
card_layout: normal

Informations (please complete the following information):

  • Bubble Card version: 2.3.2
  • Home Assistant version: 2024.12.2

Thank you! 🍻

@pcr-coding pcr-coding added the bug Something isn't working label Dec 13, 2024
@MrBearPresident
Copy link
Collaborator

Was this also like this in v2.3.0?

Hi

Due to some issues identified in the latest releases (v2.3.1, v2.3.2, v2.3.3), I have decided to mark them as pre-release versions. These updates may not be fully stable and could cause unexpected behavior. I strongly recommend rolling back to the latest stable release, v2.3.0, until further notice. This version has been thoroughly tested and provides a reliable experience. Thank you for your understanding and patience as we work to ensure a future updates that meets the highest standards of quality.


How to rollback

  1. Click on the integration in HACS.
  2. Click on the three dots icon top right of the page.
  3. Select Redownload.
  4. Choose the version you want from the dropdown list.
  5. Click Download.

@MrBearPresident
Copy link
Collaborator

I don't have this issue:

In Dutch:

image
image

In English:
image
image

@Clooos
Copy link
Owner

Clooos commented Dec 20, 2024

@MrBearPresident that's indeed translated automatically for the HVAC modes, but I haven't found a way yet to translate every attribute lists. I will have to take a look at how HA handle this.

@Clooos
Copy link
Owner

Clooos commented Dec 22, 2024

This should be fixed in the next release! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Bug-Fix 🥳
Projects
None yet
Development

No branches or pull requests

3 participants