mathieu-mp / homeassistant-intex-spa

Home Assistant integration for Intex Spa
https://github.com/mathieu-mp/homeassistant-intex-spa
MIT License
32 stars 6 forks source link

Add Czech translation #31

Closed Elkropac closed 2 years ago

Elkropac commented 2 years ago

I have taken error codes from czech manual pdf

Elkropac commented 2 years ago

Seems i'm missing one translation, please don't merge

Elkropac commented 2 years ago

Fixed

mathieu-mp commented 2 years ago

Hi @Elkropac, thank you for your contribution !!!

We have a validate error: Invalid JSON file translations/sensor.cs.json

mathieu-mp commented 2 years ago

A coma is missing on translations/sensor.cs.json:24

mathieu-mp commented 2 years ago

I had a look at other czech translation files (this one for example), and they use unicode accentuated characters. I don't know if it is mandatory.

Elkropac commented 2 years ago

A coma is missing on translations/sensor.cs.json:24

sorry about that

Elkropac commented 2 years ago

I had a look at other czech translation files (this one for example), and they use unicode accentuated characters. I don't know if it is mandatory.

Yep, i saw it too. I don't know, if it's needed. I tested my strings and it seems to be ok. It's UTF-8, so what could be wrong. When you check other Frech translations, it's also writen in unicode characters

Elkropac commented 2 years ago

I had a look at other czech translation files (this one for example), and they use unicode accentuated characters. I don't know if it is mandatory.

Yep, i saw it too. I don't know, if it's needed. I tested my strings and it seems to be ok. It's UTF-8, so what could be wrong. When you check other Frech translations, it's also writen in unicode characters

I can convert it, but i don't know, what tool to use

Elkropac commented 2 years ago

Thanks ;) I have taken most of it from czech pdf, some parts translated myself and checked with deepl.com. Personally i use HA in english, but it's nice to have translation for others.