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 3B2SFS-80
- Haier XIB 6B2D3FB - 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 ## About this Repo
The existing integrations missed some features from the app I liked to have in HomeAssistant. 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. 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 from pyhon import HonAPI
# These languages are official supported by hOn
LANGUAGES = [ LANGUAGES = [
"cs", "cs", # Czech
"de", "de", # German
"el", "el", # Greek
"en", "en", # English
"es", "es", # Spanish
"fr", "fr", # French
"he", "he", # Hebrew
"hr", "hr", # Croatian
"it", "it", # Italian
"nl", "nl", # Dutch
"pl", "pl", # Polish
"pt", "pt", # Portuguese
"ro", "ro", # Romanian
"ru", "ru", # Russian
"sk", "sk", # Slovak
"sl", "sl", # Slovenian
"sr", "sr", # Serbian
"tr", "tr", # Turkish
"zh", "zh", # Chinese
] ]
WASHING_PR_PHASE = { WASHING_PR_PHASE = {