diff --git a/.github/workflows/weblate.yml b/.github/workflows/weblate.yml deleted file mode 100644 index 905850dc..00000000 --- a/.github/workflows/weblate.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Weblate PR -on: - create: - branches: ["^translations$"] - -jobs: - pull-request: - name: Open PR to dev - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - name: checkout - - - uses: repo-sync/pull-request@v2 - name: pull-request - with: - destination_branch: "dev" - pr_title: "Merging newest translations into dev" # Title of pull request - pr_body: | # Full markdown support, requires pr_title to be set - Translations automatically submitted by Weblate - - _Translations from [Weblate](https://hosted.weblate.org/projects/ironos/main-firmware/)_ - pr_reviewer: "ralim" - pr_draft: true - github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Documentation/Translation.md b/Documentation/Translation.md index 4883ee81..d9016f21 100644 --- a/Documentation/Translation.md +++ b/Documentation/Translation.md @@ -1,6 +1,12 @@ # Translation -Moving forward (after 2022/12/07); IronOS is using Weblate to provide the visual interface to doing translations to make it easier for people to work with. -Currently there is a translation going on, so not _everything_ is perfect but its leaps in the right direction to help make it friendlier for people to edit and also subscribe to be notified when things are updated. +At the present time the main way of performing translations is to open a PR to this repository. +All translations are stored as `json` files in the repository. Currently there is ongoing work to look into a more user friendly method of editing translations than these but for now these are reliable. -This can be accessed on the [weblate hosted instance](https://hosted.weblate.org/projects/ironos/main-firmware/). +You can create a pull request with the new / updated json configuration file, and this will include this language into the new builds for the firmware. + +For testing you can build locally and test of course; but if you dont want to figure out the build environment; you can just open a PR and github will build the firmware for you using the _actions_ feature. + +This means that once you have a github account you can perform all of your edits inside Github should this be desired. + +Translations are _NOT_ accepted via issues/discussions or email. diff --git a/README.md b/README.md index f2c2cd3b..ef3c393c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ ![CI](https://github.com/Ralim/ts100/workflows/CI%20Build%20all/badge.svg) ![GitHub all](https://img.shields.io/github/downloads/ralim/IronOS/total) ![Latest Release](https://img.shields.io/github/v/release/ralim/IronOS) -[![Translation status](https://hosted.weblate.org/widgets/ironos/-/glossary/svg-badge.svg)](https://hosted.weblate.org/engage/ironos/) # IronOS - Flexible Soldering iron control Firmware @@ -82,8 +81,9 @@ Operation details are over in the [Menu information.](https://ralim.github.io/Ir ## Translations -Is your preferred language missing localisation of languages? -This project is using Weblate for managing translations in a user friendly way; [the user interface for this is on their hosted website.](https://hosted.weblate.org/engage/ironos/) +Is your preferred language missing localisation of some of the text? +Translations are stored as `json` files in the Translations folder. +PR's are loved and accepted to enhance the firmware. ## Thanks