home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.05k stars 2.77k forks source link

Automations/Scripts: Action descriptions switch to English when using search #22446

Open NoRi2909 opened 2 weeks ago

NoRi2909 commented 2 weeks ago

Describe the issue you are experiencing

When choosing an action in automations or scripts the descriptions are sometimes not localized:

Screenshot 2024-10-20 10 23 28

It sometimes works:

image

Edit: As it turns out it is whether you use search (first screen shot) or click through manually (second screenshot).

What version of Home Assistant Core has the issue?

core-2024.11.0b7

NoRi2909 commented 4 hours ago

@silamon this one is a biggie for translations, and perhaps perfect for you to have a quick look at. Seems like this will fix all my similar issues reported, and explains the strange inconsistencies reported above.

It's all about whether you use search or if you click through the actions picker manually:

It works both ways for triggers and conditions, only actions are affected. So it should be easy to pinpoint the bug in the code.