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

"device_class" or "domain" are not translated #2057

Open
davefx opened this issue Mar 7, 2024 · 1 comment
Open

"device_class" or "domain" are not translated #2057

davefx opened this issue Mar 7, 2024 · 1 comment

Comments

@davefx
Copy link
Contributor

davefx commented Mar 7, 2024

Hi.

Testing the new error messages in Spanish with 2024.3 version I've found that, in the "no_device_class_in_area" error messages, the {{device_class}} part is not translated so, for example, in Spanish, I'm getting a wrong:

Lo siento, no conozco ningún elemento de clase curtain en el área {{ Cocina }}

instead of the proper Spanish

Lo siento, no conozco ningún elemento de clase cortina en el área {{ Cocina }}

This also happens for other response including the {{device_class}} or {{domain}} part.

Is there any way to get the {{device_class}} part correctly translated?

@davefx
Copy link
Contributor Author

davefx commented Mar 7, 2024

For now, I'm copying the solution from French language, but I honestly think that some kind of solution should be provided.

@davefx davefx changed the title device_class is not translated "device_class" or "domain" are not translated Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant