sander1988 / Indego

Home Assistant Custom Component for Bosch Indego Lawn Mower
Apache License 2.0
96 stars 29 forks source link

Update and add translations #221

Closed sander1988 closed 6 months ago

sander1988 commented 6 months ago

We should update translations due to new functionality and we can add some more languages (when by provided). There was already some discussing in PR #216.

zmechu commented 6 months ago

pl.json PL translation

sander1988 commented 6 months ago

@zmechu - Thank you for your contribution. The file doesn't seem to match the latest format (please see the EN file). Can you check and update your translation?

zmechu commented 6 months ago

pl.json Should be OK now :-) Please check if it fit.

kimzeuner commented 6 months ago

@zmechu i think you forgot the translations for the alert entity/attributes

    "entity": {
        "binary_sensor": {
            "indego_alert": {
                "state_attributes": {
                    "alerts_count": {
                        "name": "Number of alerts"
                    },
                    "last_alert_error_code": {
                        "name": "Error code (most recent)"
                    },
                    "last_alert_message": {
                        "name": "Alert message (most recent)"
                    },
                    "last_alert_date": {
                        "name": " Alert date (most recent)"
                    },
                    "last_alert_read": {
                        "name": "Alert status (most recent)",
                        "state": {
                            "read": "Read",
                            "unread": "Unread"
                        }
                    }
                }
            }
        }
    },

Here is the updated DE translation de.json

What do you think of also translating the mower state and mower state detail ? i'm using it in my system but i'm not sure if it is interesting for everyone ?!

urbatecte commented 6 months ago

@sander1988 Hi there ! Please find the french translation. fr.json

Thanks for all your work 👌

zmechu commented 6 months ago

@zmechu i think you forgot the translations for the alert entity/attributes Ups :-) I think use not up-to-date file. Please give me link to english file to translate,

kimzeuner commented 6 months ago

This is the latest en.json file Link

zmechu commented 6 months ago

This is the latest en.json file Link

pl.json now should be OK :-)

obi134 commented 6 months ago

Hi @sander1988 , Thank you for your effords. Please check following PR #222 Best regards

sander1988 commented 6 months ago

Thank you everyone for your contribution! It has been merged and is available at the develop branch.