Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi lingal #135

Closed
shannonhochkins opened this issue May 8, 2024 · 1 comment · Fixed by #136
Closed

Multi lingal #135

shannonhochkins opened this issue May 8, 2024 · 1 comment · Fixed by #136

Comments

@shannonhochkins
Copy link
Owner

There's been a request to ensure we can support multiple languages, I've done some initial experimentation and all looks possible to retrieve translations from homeassistant over websockets which means this will be a relatively easy (but time consuming) feature to add!

Ideas, multiple hooks to retrieve translations, localise functions as well as the ability to fetch more translations by category.

@shannonhochkins
Copy link
Owner Author

Roadblock - There's a websocket hook called frontend/get_translations, however this doesn't return everything, for some reason the front-end requests translations through this hook as well as a file, in a structure like: http://homeassistant.local:8123/static/translations/en-[hash].json and currently there's no way to retrieve the has name dynamically to fetch it.

I've created a discussion ticket - home-assistant/frontend#20760

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant