¡Hola desarrolladores
Un usuario alemán de Gladys nos ha hecho una PR para añadir el alemán a Gladys:
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`.
La PR funciona genial, y Alemania es un país que tenía en mente para el futuro:
Es el país con más usuarios de domótica de código abierto en Europa (Fuente: estadísticas de HA).
Los servidores de Gladys Plus están en Alemania, por lo que comercialmente tiene mucho sentido estar presentes allí.
He fusionado la PR, pero eso significa una cosa: ahora tendremos que traducir las nuevas PRs al alemán también.
Os recomiendo DeepL Translator | World's Most Accurate Translator para ello, o ChatGPT.
Si esto se vuelve demasiado engorroso, podremos pensar en otras soluciones que no sean JSON para las traducciones. Puede ser software en línea de traducción como suele ser el caso en las empresas.
Por ahora, seguiremos así y veremos
¡Me va bien, y más aún si ChatGPT es tan eficiente en alemán como en inglés, ¡realmente no es nada restrictivo, creo! Sinceramente, no lleva mucho tiempo en inglés, no llevará mucho más en alemán. ¡Y contaremos con la comunidad para señalar los fallos!^^
¡También habrá que traducir la documentación!
Totalmente en el futuro, pero ahora me parece un poco prematuro ^^
Intentemos tener ya 10 usuarios alemanes