mirror of
https://github.com/Andre0512/hon.git
synced 2024-12-22 10:45:30 +00:00
Update readme for translations
This commit is contained in:
parent
7f439139d5
commit
d2cebfad67
23
README.md
23
README.md
|
@ -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.
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue