Hallo Entwickler
Ein deutscher Nutzer von Gladys hat uns einen Pull Request geschickt, um Deutsch zu Gladys hinzuzufügen:
master ← patrickschoebel:master
ouvert 11:42AM - 05 Jan 24 UTC
### Pull Request check-list
To ensure your Pull Request can be accepted as fa… st as possible, make sure to review and check all of these items:
- [ ] If your changes affects code, did your write the tests?
- [ ] Are tests passing? (`npm test` on both front/server)
- [x] Is the linter passing? (`npm run eslint` on both front/server)
- [x] Did you run prettier? (`npm run prettier` on both front/server)
- [x] If you are adding a new features/services, did you run integration comparator? (`npm run compare-translations` on front)
- [x] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to the community ([french forum](https://community.gladysassistant.com/)/[english forum](https://en-community.gladysassistant.com/)) for testing before merging.
- [ ] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
- [ ] If you are adding a new features/services which needs explanation, did you modify the user documentation? See [the GitHub repo](https://github.com/GladysAssistant/v4-website) and the [website](https://gladysassistant.com).
- [ ] Did you add fake requests data for the demo mode (`front/src/config/demo.js`) so that the demo website is working without a backend? (if needed) See [https://demo.gladysassistant.com](https://demo.gladysassistant.com).
NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
### Description of change
This PR includes a complete German translation. Also, the language in local account creation is now been set based on `getDefaultState().user.language`.
Der PR funktioniert perfekt, und Deutschland ist ein Land, das ich für die Zukunft im Blick hatte:
Es ist das Land mit den meisten Nutzern von Open-Source-Smart-Home-Lösungen in Europa (Quelle: HA-Statistiken).
Die Gladys Plus-Server sind in Deutschland, also macht es kommerziell total Sinn, dort präsent zu sein.
Ich habe den PR gemerged, aber das bedeutet eine Sache: Ab jetzt müssen neue PRs auch auf Deutsch übersetzt werden.
Ich empfehle euch dafür DeepL Translator | World's Most Accurate Translator oder ChatGPT.
Falls es zu aufwendig wird, können wir über andere Lösungen als JSON für Übersetzungen nachdenken. Das können Online-Übersetzungssoftware sein, wie es oft in Unternehmen der Fall ist.
Vorläufig bleiben wir so und schauen mal
Das passt mir gut, umso mehr, wenn ChatGPT auf Deutsch genauso gut funktioniert wie auf Englisch. Das ist wirklich nicht umständlich, denke ich!! Ehrlich gesagt, dauert es auf Englisch nicht lange, auf Deutsch wird es nicht viel länger dauern. Und wir werden auf die Community zählen, um die Fehler zu melden!!^^
Dann müssen auch die Dokumentationen übersetzt werden!
Auf jeden Fall in Zukunft, aber jetzt erscheint mir das ein bisschen verfrüht ^^
Versuchen wir erstmal, 10 deutsche Nutzer zu bekommen