Websocket get_translations doesn't return lokalize data #20760
Replies: 1 comment
-
Closing this discussion, i've built a sync script which sucks down all locales locally so no need for this anymore |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The websocket command for
frontend/get_translations
doesn't seem to provide the same keys that the home assistant dashboard requests from here.There's a list of available categories specified here however I've looked through them all and it doesn't have the same things available from the request that's made to
en.json
, I also don't have access to thetranslationMetadata
in anyway to dynamically retrieve this json file.Why are there two different ways of retrieving the translations?
IE the english JSON file contains
ui.components.logbook.messages.was_away
however there's nothing suffixed withwas_away
at all from any of the available categories sent tofrontent/get_translations
, would it be possible to add this?Beta Was this translation helpful? Give feedback.
All reactions