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

Wrong translation assigned to template binary sensor device class. #20830

Closed
4 tasks done
fox1047 opened this issue May 20, 2024 · 4 comments
Closed
4 tasks done

Wrong translation assigned to template binary sensor device class. #20830

fox1047 opened this issue May 20, 2024 · 4 comments

Comments

@fox1047
Copy link

fox1047 commented May 20, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

When I'm creating template binary sensor and pick a device class "Присутсвие" (presence) appears twice.
Also "Занятость" (occupancy) is missing. Likely one of those classes is occupancy.
image

Describe the behavior you expected

I expect to have both "Присутствие" and "Занятость" options when i create template binary sensor.

Steps to reproduce the issue

  1. Switch language to Russian
  2. Go to create template binary sensor in UI
  3. Try to pick device class

What version of Home Assistant Core has the issue?

2024.5.4

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Google Chrome 123.0.6312.106

Which operating system are you using to run this browser?

Windows 10 22H2

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

@karwosts
Copy link
Contributor

Incorrect translations are not tracked in the github repo.

If you want to review (and suggest corrections) to what translations exist for your language, check out the docs on Lokalise:

https://developers.home-assistant.io/docs/translations/

I'm not sure if these are frontend or backend translations, so check both.

@karwosts karwosts closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
@fox1047
Copy link
Author

fox1047 commented May 20, 2024

I already checked and translations on Lokalise for both frontend and backend seems to be correct. That's why I opened this issue.

@karwosts
Copy link
Contributor

Looks like it used to be what you suggest, but someone changed it. I don't speak Russian so you'll have to make a suggestion there and come to a consensus.

https://app.lokalise.com/project/130246255a974bd3b5e8a1.51616605/?view=multi&search=key::component::binary_sensor::entity_component::occupancy::name

image

@fox1047
Copy link
Author

fox1047 commented May 20, 2024

I'm sorry. I pressed Join the backend translation team link and didn't realized that on my screen was still a frontend translation project.
Anyway I restored translation and added a comment to warn others.
Thank you @karwosts

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

No branches or pull requests

2 participants