core: Help wanted: fix missing translation strings
The problem
As a developper, it’s very easy to forget adding all expected translation keys into strings.json
I am working on catching this within the regular test routines (see https://github.com/home-assistant/core/pull/127787)
If you would like to help, take a look at the resulting failures and see if you can add/fix.
It is possible to do a search through the code for # Remove when translations fixed
eg.
@pytest.mark.parametrize( # Remove when translations fixed
"ignore_translations",
["component.flume.config.error.invalid_auth"],
)
- emoncms
options.error.failure - flume
config.error.invalid_auth/config.error.cannot_connect/config.abort.reauth_successful#130631 - generic
config.error.Some message#130672 - google_assistant_sdk
config.abort.single_instance_allowed#130632 - homeworks
config.abort.reconfigure_successful#129824 - honeywell
config.abort.reauth_successful#129823 - hvv_departures
options.error.cannot_connect/options.error.invalid_auth#130634 - hydrawise
config.error.invalid_auth#129834 - jewish_calendar
config.abort.reconfigure_successful#129822 - landisgyr_heat_meter
config.error.cannot_connect#129831 - lg_netcast
config.abort.invalid_host#130635 - madvr
config.abort.set_up_new_device#130656 - nina
options.error.unknown#127908 - ollama
config.abort.download_failedhttps://github.com/home-assistant/core/pull/130164 - onewire
options.abort.No configurable devices found.#130673 - ovo_energy
config.error.authorization_error/config.error.connection_error/config.abort.reauth_successful#129833 - philips_js
config.abort.pairing_failure - srp_energy
config.abort.unknown#130540 - subaru
config.abort.two_factor_request_failedhttps://github.com/home-assistant/core/pull/130486/files - toon
config.abort.connection_error#130655 - tradfri
config.error.invalid_security_code#130654 - utility_meter
config.error.tariffs_not_unique#130652 - vilfo
config.error.wrong_host#130650
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 33 (10 by maintainers)
All translation issues have been resolved 🎉 Thanks all for your help getting this over the line.
I’ve opened https://github.com/home-assistant/core/pull/128441 to remove them all There was a gap in the previous detection logic
Might be worth confirming with a core member… I think we normally use “unknown” and log the full details
Thanks, I’ve converted to a task list in the description