Update readme for translations

This commit is contained in:
Andre Basche 2023-04-22 21:33:49 +02:00
parent 7f439139d5
commit d2cebfad67
2 changed files with 43 additions and 19 deletions

View file

@ -102,6 +102,29 @@ For every device exists a hidden button which can be used to log all info of you
- Haier XIB 3B2SFS-80
- Haier XIB 6B2D3FB
## Supported Languages
Translation of internal names like programs are available for all languages which are official supported by the hOn app:
* Chinese
* Croatian
* Czech
* Dutch
* English
* French
* German
* Greek
* Hebrew
* Italian
* Polish
* Portuguese
* Romanian
* Russian
* Serbian
* Slovak
* Slovenian
* Spanish
* Turkish
## About this Repo
The existing integrations missed some features from the app I liked to have in HomeAssistant.
I tried to create a pull request, but in the structures of these existing repos, I find it hard to fit in my needs, so I basically rewrote everything.

View file

@ -4,26 +4,27 @@ from pathlib import Path
from pyhon import HonAPI
# These languages are official supported by hOn
LANGUAGES = [
"cs",
"de",
"el",
"en",
"es",
"fr",
"he",
"hr",
"it",
"nl",
"pl",
"pt",
"ro",
"ru",
"sk",
"sl",
"sr",
"tr",
"zh",
"cs", # Czech
"de", # German
"el", # Greek
"en", # English
"es", # Spanish
"fr", # French
"he", # Hebrew
"hr", # Croatian
"it", # Italian
"nl", # Dutch
"pl", # Polish
"pt", # Portuguese
"ro", # Romanian
"ru", # Russian
"sk", # Slovak
"sl", # Slovenian
"sr", # Serbian
"tr", # Turkish
"zh", # Chinese
]
WASHING_PR_PHASE = {