Closed epenet closed 2 weeks ago
These are all open ones (without a pending PR)
...
Edit: converted to task list in the description
These are all open ones (without a pending PR)
Thanks, I've converted to a task list in the description
we have some integrations (eq. generic
and webmin
, properly much more) which redirects possible connection errors direct into the errors
dict to the async_show_form
, those they can have unexpected or unforeseen error values, which can't be translated :thinking: Should we adjust the tests in this case, so they test only expected errors? Or do we've the possibility to work with placeholders also for errors in flow forms?
we have some integrations (eq.
generic
andwebmin
, properly much more) which redirects possible connection errors direct into theerrors
dict to theasync_show_form
, those they can have unexpected or unforeseen error values, which can't be translated 🤔 Should we adjust the tests in this case, so they test only expected errors? Or do we've the possibility to work with placeholders also for errors in flow forms?
Might be worth confirming with a core member... I think we normally use "unknown" and log the full details
I think we normally use "unknown" and log the full details
Like that yes, we can only translate known errors e.g. there is no placeholders or such.
I've updated the task list to remove (at least temporarily) the data strings, and add the latest PRs from @j4n-e4t
@epenet Do you have a way to get all components that still have the ignore_translations
rule in the config_flow tests? Should I go through them and file a PR removing them for the merged ones?
I found quite some components still having such rule in place, even if the translation is added correctly. Also my merged PRs from yesterday.
@epenet Do you have a way to get all components that still have the
ignore_translations
rule in the config_flow tests? Should I go through them and file a PR removing them for the merged ones? I found quite some components still having such rule in place, even if the translation is added correctly. Also my merged PRs from yesterday.
I've opened https://github.com/home-assistant/core/pull/128441 to remove them all There was a gap in the previous detection logic
Hey there @borpin, @alexandrecuer, mind taking a look at this issue as it has been labeled with an integration (emoncms
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
emoncms documentation emoncms source (message by IssueLinks)
Hey there @chrismandich, @bdraco, @jeeftor, mind taking a look at this issue as it has been labeled with an integration (flume
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
flume documentation flume source (message by IssueLinks)
Hey there @tronikos, mind taking a look at this issue as it has been labeled with an integration (google_assistant_sdk
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
google_assistant_sdk documentation google_assistant_sdk source (message by IssueLinks)
Hey there @davet2001, mind taking a look at this issue as it has been labeled with an integration (generic
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
generic documentation generic source (message by IssueLinks)
Hey there @vigonotion, mind taking a look at this issue as it has been labeled with an integration (hvv_departures
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
hvv_departures documentation hvv_departures source (message by IssueLinks)
Hey there @rdfurman, @mkmer, mind taking a look at this issue as it has been labeled with an integration (honeywell
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
honeywell documentation honeywell source (message by IssueLinks)
Hey there @dknowles2, @thomaskistler, @ptcryan, mind taking a look at this issue as it has been labeled with an integration (hydrawise
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
hydrawise documentation hydrawise source (message by IssueLinks)
Hey there @timmo001, mind taking a look at this issue as it has been labeled with an integration (ovo_energy
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
ovo_energy documentation ovo_energy source (message by IssueLinks)
Hey there @tsvi, mind taking a look at this issue as it has been labeled with an integration (jewish_calendar
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
jewish_calendar documentation jewish_calendar source (message by IssueLinks)
Hey there @vpathuis, mind taking a look at this issue as it has been labeled with an integration (landisgyr_heat_meter
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
landisgyr_heat_meter documentation landisgyr_heat_meter source (message by IssueLinks)
Hey there @deermaximum, mind taking a look at this issue as it has been labeled with an integration (nina
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
nina documentation nina source (message by IssueLinks)
Hey there @iloveicedgreentea, mind taking a look at this issue as it has been labeled with an integration (madvr
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
madvr documentation madvr source (message by IssueLinks)
Hey there @drafteed, @splinter98, mind taking a look at this issue as it has been labeled with an integration (lg_netcast
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
lg_netcast documentation lg_netcast source (message by IssueLinks)
Hey there @synesthesiam, mind taking a look at this issue as it has been labeled with an integration (ollama
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
ollama documentation ollama source (message by IssueLinks)
Hey there @garbled1, mind taking a look at this issue as it has been labeled with an integration (onewire
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
onewire documentation onewire source (message by IssueLinks)
Hey there @dgomes, mind taking a look at this issue as it has been labeled with an integration (utility_meter
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
utility_meter documentation utility_meter source (message by IssueLinks)
Hey there @mannew, mind taking a look at this issue as it has been labeled with an integration (vilfo
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
vilfo documentation vilfo source (message by IssueLinks)
Hey there @elupus, mind taking a look at this issue as it has been labeled with an integration (philips_js
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
philips_js documentation philips_js source (message by IssueLinks)
Hey there @g-two, mind taking a look at this issue as it has been labeled with an integration (subaru
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
subaru documentation subaru source (message by IssueLinks)
Hey there @briglx, mind taking a look at this issue as it has been labeled with an integration (srp_energy
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
srp_energy documentation srp_energy source (message by IssueLinks)
I can take a look at it for srp_energy
All translation issues have been resolved 🎉 Thanks all for your help getting this over the line.
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.options.error.failure
config.error.invalid_auth
/config.error.cannot_connect
/config.abort.reauth_successful
#130631config.error.Some message
#130672config.abort.single_instance_allowed
#130632config.abort.reconfigure_successful
#129824config.abort.reauth_successful
#129823options.error.cannot_connect
/options.error.invalid_auth
#130634config.error.invalid_auth
#129834config.abort.reconfigure_successful
#129822config.error.cannot_connect
#129831config.abort.invalid_host
#130635config.abort.set_up_new_device
#130656options.error.unknown
#127908config.abort.download_failed
https://github.com/home-assistant/core/pull/130164options.abort.No configurable devices found.
#130673config.error.authorization_error
/config.error.connection_error
/config.abort.reauth_successful
#129833config.abort.pairing_failure
config.abort.unknown
#130540config.abort.two_factor_request_failed
https://github.com/home-assistant/core/pull/130486/filesconfig.abort.connection_error
#130655config.error.invalid_security_code
#130654config.error.tariffs_not_unique
#130652config.error.wrong_host
#130650