-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Entity friendly names not translated #2187
Comments
Hi, the lack of a space is intentional as in certain circumstances there's no device name prefix. |
Thanks for checking the cache and providing those details, I'll have a look into it. |
Using the Sun integration as a test I changed my user and system language from English to Hungarian and the friendly names were still English. Apologies I am only an English speaker so localisation is tricky for me to test. |
That was it, thanks! The system language was not set (defaulted to English), and the user profile language was not used for the entity names but all the others. I set the system language in configuration.yaml to Hungarian, and it works. |
Thanks for confirming. |
System Health details
.
Checklist
battery_notes:
to my configuration.yaml and restarted.Describe the issue
The generated entities doesn't get their names from the translation files. For example the friendly name of "My best sensor Battery+" should be "My best sensor Elem+" with the Hungarian translation. Maybe a space is missing before the Battery+ and Elem+ strings here:
Reproduction steps
...
Debug logs
No response
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: