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

Is it possible to create the sensors with names by default in English? #497

Open
h3llrais3r opened this issue Dec 29, 2024 · 5 comments
Open
Labels
enhancement New feature or request translations

Comments

@h3llrais3r
Copy link

It seems that my sensors are being created with Dutch names when adding the integration.
Is it using it from my local settings, or is it using the language from my skoda profile to determine the language?
Is it possible to force them in English instead?
I don't like a mix of the sensor names in different languages.
I rather use translations for the friendly names, not for the real sensor names.

@h3llrais3r
Copy link
Author

h3llrais3r commented Dec 29, 2024

It seems that if I remove the nl.json file from the translations folder, it doesn't create the sensors in Dutch, but in English.
Not sure this is the best way?
Should I put back the translations file after that the sensors are create?

EDIT: putting the translations file back after the sensors are created, restores the friendy name translations, so we shoud definitely put it back.😉
We just have to keep in mind that every time there is an update, and some sensors are added, you have to remove your translation file first.

@korttoma
Copy link

korttoma commented Dec 30, 2024

I was also surprised to see that all entities have Swedish names for me. I agree with @h3llrais3r on this. I don't like sensor names mixed in different languages, English names is to be preferred.
Makes it easier also if I want to report a bug for a particular sensor if the name of the sensors have the same name for everyone.

For example, for me it looks like the sensor called "climate.skoda_octavia_combi_tillsatsvarmare" is not working at all. How can the developer or other users know what sensor that is if they are using a different language?

@WebSpider WebSpider added the enhancement New feature or request label Dec 30, 2024
@WebSpider
Copy link
Contributor

This is a side-effect from making the integration fully translated from the start that we have not looked into.
Personally, I like the feature, but think the default should be English, with local names being configurable.

I wouldn't mind a PR that makes that a reality.

@WebSpider
Copy link
Contributor

#502 makes some preparations for this

@WebSpider
Copy link
Contributor

Looking at the HA documentation, changing this is possible, but a bit tedious. I will have a go at it somewhere this month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request translations
Projects
None yet
Development

No branches or pull requests

3 participants