Skip to content

Commit

Permalink
Merge pull request #959 from opengisch/transidoc
Browse files Browse the repository at this point in the history
Translation (Transifex) Guide in Documentation
  • Loading branch information
signedav authored Sep 11, 2024
2 parents c8863b1 + 10afa09 commit 27cc656
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
sudo ./scripts/package_pip_packages.sh
- name: Test on QGIS
run: docker-compose -f .docker/docker-compose.gh.yml run qgis /usr/src/.docker/run-docker-tests.sh
run: docker compose -f .docker/docker-compose.gh.yml run qgis /usr/src/.docker/run-docker-tests.sh

release:
runs-on: ubuntu-22.04
Expand Down
File renamed without changes.
31 changes: 31 additions & 0 deletions docs/docs/about/translation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
This project (Plugin and documentation) can be translated into any language.

Your language is missing? Feel free to contribute!

# How to get started

1. Log in to https://app.transifex.com/

Then go to *Join another organization*

2. In the search mask, enter “qgis model baker”. You will be taken to this page https://explore.transifex.com/search/?q=model%20baker

![search-mask](../assets/transifex-search-mask.png)

3. Select the project you want to translate and select *Join this project*, you will be taken back to your dashboard:

![join-requested](../assets/transifex-join-requested.png)

Now someone from OPENGIS.ch must accept. If nothing happens, it's best to write an e-mail.

4. If your request has been accepted, the projects are available to you:

![projects](../assets/transifex-projects.png)

5. You are ready to go. Select *Translate*

![translate](../assets/transifex-translate.png)

6. And now you can translate.

![translating](../assets/transifex-translating.png)
Binary file added docs/docs/assets/transifex-join-requested.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/transifex-projects.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/transifex-search-mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/transifex-translate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/assets/transifex-translating.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ nav:
- Migrate from ili2db 3 to 4: background_info/upgrade_3_to_4.md
#- Relations in QGIS: maybe from here https://github.com/signedav/interlis_relations_in_qgis
#- INTERLIS Syntax in 10 Minutes: maybe stuff from here https://github.com/signedav/talk_iliuniverse
- Development: development.md
- About:
- Development: about/development.md
- Translation: about/translation.md
#- Library: Info about the upcoming python package

markdown_extensions:
Expand Down
4 changes: 2 additions & 2 deletions scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ fi
cd $(dirname $0)/..
export GITHUB_WORKSPACE=$PWD # only for local execution

docker-compose -f .docker/docker-compose.gh.yml run qgis /usr/src/.docker/run-docker-tests.sh $@
docker-compose -f .docker/docker-compose.gh.yml rm -s -f
docker compose -f .docker/docker-compose.gh.yml run qgis /usr/src/.docker/run-docker-tests.sh $@
docker compose -f .docker/docker-compose.gh.yml rm -s -f

0 comments on commit 27cc656

Please sign in to comment.