Added integration name to System Options dialog#3996
Conversation
|
Thanks! The integration name itself should also be translated, and pass the name of the integration as a variable in the translation string instead of splitting it. |
|
Translate integration name? How is that going to scale? Do we have backend translations for that or something? |
|
Not sure it's feasible to translate the integration names since most of them are made-up brand names like Wemo, Twilio, etc. |
|
@bramkragten a841697 fixes your suggestions. |
|
Translations of integration are on the backend, example for Hue: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/hue/.translations/en.json#L29 |
TIL |
|
@bramkragten implemented your suggestion about translating the integration name with 85b0684, thanks for providing the solution to this problem 👍 |
| this.hass.localize( | ||
| `component.${this._params.entry.domain}.config.title` | ||
| ) |
There was a problem hiding this comment.
It could be that there is no translation:
this.hass.localize(`component.${this._params.entry.domain}.config.title`) || ${this._params.entry.domain}

Issues affected: #3948
Changes:
enable_new_entities_descriptioninto two key-value pairsResult:
