tomeko12 / pyelectroluxconnect

A python module to communicate with Elecrolux Connectivity Platform
Apache License 2.0
25 stars 9 forks source link

Translation of Electrolux API #17

Open misa1515 opened 1 year ago

misa1515 commented 1 year ago

Hello @tomeko12 , I use Home Assistant is used integration "homeassistant_electrolux_status.

During using this integration were found A. few not translated text ("Remote Control Enabled for No Safety Relevant Operations" or "Applicance in Normal Mode") B. one wrong translated text (wrongly "není dostupné" right "nie je dostupné")

After investigation and communication with author of described integration was obtained answer - the text is direct part of Electrolux API ("the text and any translations are read directly from Electrolux's API").

If I am right, you are using same connector, and maybe you may help me with right path to solve. Thank you.

tomeko12 commented 1 year ago

Hi. Translations are downloaded from Electrolux servers (file with translated strings exists in appliance profile file). If state or sensor name translation exist in selected language, then pyelectoluxconnect returns it, if not, then returns value returned by Electrolux API.

misa1515 commented 12 months ago

Hello @tomeko12, thank you for your patience with answering to my questions.

I was on https://pypi.org/ and found Translate PyPI.