ha-solarman
ha-solarman copied to clipboard
Add sensor translations - IT
I can help with translations
Hi @Edsol, I will soon commit translations for CS and DE so it will be more clear how to do it for other languages. 😉
Hi @Edsol, I will soon commit translations for CS and DE so it will be more clear how to do it for other languages. 😉
Great!
Completing the descriptions in the attribute sections especially for configurations in all languages would be awesome for one of the next steps.
Time ago I made a preliminary translation, but never completed the work... https://github.com/lcavalli/ha-solarman/blob/5fe5e211483ac11adcec2d37b1c780b1c8772097/custom_components/solarman/translations/it.json
This issue is stale because it has been open for 30 days with no activity.
Keep Alive
@davidrapan, do you still need a check on the IT translations? I’ve given it a Quick Look and it looks mostly OK, there could be minor improvements done.
Let me know if help is still wanted, as per tag, and I’d happily review the file.
I don't really like how HA approaches translations, even entity_ids are translated and that's dump, imo. As introduction of complete translation would make existing users mad af, haha. 😆 Therefore, the current code is intercepting this pipeline and only translates friendly_names, but HA doesn't use them as expected and only uses/displays them occasionally, which creates inconsistencies and is confusing.
That's why I haven't thought about it much nor put any effort since the last commits regarding entity translations.