slipx06 / sunsynk-power-flow-card

⚡A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.
MIT License
204 stars 55 forks source link

Adding the Czech language "CZ" #84

Closed Legnava89 closed 1 year ago

Legnava89 commented 1 year ago

Is there an existing issue for this?

Current Behavior

There is no Czech language and this card is used by many users in the Czech Republic

Expected behaviour

Add Czech language

Possible Solutions

I translated the English language into the Czech language. Thank you very much for your work. Best regards, Dusan

CZ.txt

Mode

Both

Context / Reason

This card is used by many users in the Czech Republic

slipx06 commented 1 year ago

Thanks for the input. Please check if I missed anything

{
    "common": {
        "description": "A Home Assistant card to emulate the Sunsynk power flow that's shown on the Inverter screen",
        "version": "Verze",
        "runtime_to": "ČAS VYBITÍ DO",
        "battery_floating": "BATERIE JE NABITÁ",
        "charge": "NABÍT",
        "to": "DO",
        "daily_load": "DNES SPOTŘEBA",
        "daily_aux": "DENNÍ VSTUP",
        "daily_grid_buy": "DNES NÁKUP",
        "daily_grid_sell": "DNES PRODEJ",
        "daily_solar": "DNES VÝROBA",
        "daily_solar_left": "DNES VÝROBA / CELKEM VÝROBA",
        "daily_charge": "DNES NABÍJENÍ",
        "daily_discharge": "DNES VYBÍJENÍ",
        "ratio": "Poměr",
        "timer_off": "Časovač off",
        "timer_on": "Časovač on",
        "priority_batt": "Nabít Baterii z ds",
        "priority_load": "Prioritní Spotřeba",
        "nonessential_name": "Nedostupné",
        "aux_name": "Pomocné",
        "load1_name": "",
        "load2_name": "",
        "pv1_name": "PV1",
        "pv2_name": "PV2",
        "pv3_name": "PV3",
        "pv4_name": "PV4",
        "essential": "Nezbytný"
    },
    "errors": {
        "battery": {
            "bat": "Nejsou definovány žádné atributy baterie",
            "energy": "Uveďte prosím atribut energie baterie a hodnotu ve Wh, např. 5,32 Energie baterie: 5320",
            "shutdown_soc": "Uveďte atribut battery shut down_soc a hodnotu, např. shutdown_soc: 20 shutdown_soc: 20",
            "full_capacity": "Plná kapacita musí být mezi 80 a 100",
            "empty_capacity": "Prázdná kapacita musí být <= 30",
            "show_daily": "Please include the day_battery_charge_70 and day_battery_discharge_71 attributes and entity IDs"
        },
        "solar": {
            "sol": "Nejsou definovány žádné sluneční atributy",
            "mppts": "Uveďte prosím atribut a hodnotu solar mppts; 1,2,3 nebo 4 např. mppts: 2",
            "show_daily": "Uveďte prosím atribut day_pv_energy_108 a ID entity"
        },
        "grid": {
            "show_daily": "Uveďte prosím atributy day_grid_import_76 a day_grid_export_77 a ID entit"
        },
        "essential_power": "Atribut essential_power je nastaven na hodnotu none. Uveďte prosím atribut inverter_power_175 a ID entity, aby karta mohla vypočítat tuto hodnotu.",
        "nonessential_power": "Atribut neesenciální_výkon je nastaven na hodnotu none. Uveďte prosím atribut grid_power_169 a ID entity, aby karta mohla vypočítat tuto hodnotu.",
        "missing_entity": "Uveďte prosím atribut a ID entity"
    }
}
Legnava89 commented 1 year ago

All right. Sorry for the english, using google translate.

Legnava89 commented 1 year ago

Please translate exactly like this according to the txt file. The translated word autarky to self-sufficiency is a long word and there are problems with the graphics, so we will replace it with the word own. Thank you very much. cs.json (1).txt

slipx06 commented 1 year ago

Added to https://github.com/slipx06/sunsynk-power-flow-card/releases/tag/v3.2.0

Legnava89 commented 1 year ago

please update the cz language battery status of the words exporting, importing, idle, Charging, Discharging cs.json.txt

slipx06 commented 1 year ago

Those strings are not localized at the moment. I need to look at the code

Legnava89 commented 1 year ago

When there is time, here is the code code.txt

slipx06 commented 1 year ago

Can you translate these please

        "standby": "Standby",
        "no_battery": "No Battery",
        "selftest": "Selftest",
        "normal": "Normal",
        "alarm": "Alarm",
        "fault": "Fault"
Legnava89 commented 1 year ago
    "standby": "Standby",
    "no_battery": "Není baterie",
    "selftest": "Vlastní test",
    "normal": "Normální",
    "alarm": "Alarm",
    "fault": "Chyba"