-
Notifications
You must be signed in to change notification settings - Fork 18
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
Device naming in German? #24
Comments
Hi, the german messages are hardcoded in the sourcefiles since it is my native language. I asked how a plugin can determine the language main domoticz uses, but did not get an answer. So for now, all I could do are ugly worksrounds. One of them is ask you to change the handful of words in your copy and send a pull request so others can find it. |
Cool... NP! I can live with that for now... If I have some more time on my hands again, I will see what I can do for English (and detecting language?). |
Is there a way around to do all coding in english please? I have ALOT tasmota devices upcoming, i do not like to rename everything. Thanks!! |
Sorry, I don’t understand. |
Sure, All names of tasmota devices with this plugin are in German, i want to have it in english please 🙂 |
The English would be "Voltage", "Current", "Total", "Yesterday", "Today", "Power" and "Apparent Power" (The unit of the latter should also be VA rather than Watt, but that is a different discussion altogether) |
So it is basically the same answer as before: when I wrote the plugin I have not found a way to reliably detect the language a user wants and then how this usually is done in python. So for now there is no good mechanism for this :( https://github.com/joba-1/Tasmoticz/blob/master/tasmota.py#L224 Probably I should revisit that, now that the plugin seems to have more than one user. Do you have an idea how to detect a users browser/domoticz language from within a domoticz plugin and how to do proper internationalization in python? |
Where does the module get names and such from? The devices generated were the friendly name with GERMAN extensions, whilst my Domoticz is set up in English...
Also when I look in the message/comment section, I see German phrases.
The text was updated successfully, but these errors were encountered: