From ad3b935e3d136853e2967c3627e72686f3160dba Mon Sep 17 00:00:00 2001 From: alfrix <alfredomonclus@gmail.com> Date: Thu, 16 Nov 2023 20:49:56 -0300 Subject: [PATCH] Update translation platform details #1116 --- README.md | 6 +++++- docs/Translations.md | 18 +++++++++++++++--- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0f95e450..f67e43ad 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,13 @@ will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [ ### Translations <a href="https://hosted.weblate.org/engage/klipperscreen/"><img src="https://hosted.weblate.org/widget/klipperscreen/svg-badge.svg" alt="Translation status" /></a> +Translations are hosted on Weblate, Thanks to the Weblate team for supporting the Open-Source community. + Click the widget below to access the translation platform: -<a href="https://hosted.weblate.org/engage/klipperscreen/"><img src="https://hosted.weblate.org/widget/klipperscreen/horizontal-auto.svg" alt="Stan tłumaczenia" width=30% /></a> +<a href="https://hosted.weblate.org/engage/klipperscreen/"> + <img src="https://hosted.weblate.org/widget/klipperscreen/horizontal-auto.svg" alt="Weblate widget" width=50% /> +</a> ### About the project diff --git a/docs/Translations.md b/docs/Translations.md index 2e68a1c0..b122b576 100644 --- a/docs/Translations.md +++ b/docs/Translations.md @@ -1,6 +1,18 @@ # Translations -## Updating an existing translation: +Translations are hosted on Weblate: + +<a href="https://hosted.weblate.org/engage/klipperscreen/"> + <img src="https://hosted.weblate.org/widget/klipperscreen/open-graph.png" alt="Weblate" /> +</a> + +Thanks to the Weblate team for supporting the Open-Source community. + +## Manual way: + +This is currently discouraged, but if you want you can make your changes manually + +### Updating an existing translation: You can use an editor such as [poedit](https://poedit.net/) to assist in translations. @@ -11,7 +23,7 @@ To test your translation: In poedit go to `File -> Compile to MO`. Save it on the same folder, and restart KlipperScreen -## Adding a new Language: +### Adding a new Language: Example using poedit @@ -28,5 +40,5 @@ Once you have restarted KlipperScreen, select it from the list in the settings. If you edited and recompiled, you need to restart KlipperScreen to reload the translation. -## Contributing: +### Contributing: [Attach your translation on a GitHub issue or create a PR](Contact.md)