Replies: 4 comments 7 replies
-
Hi, well, I guess yes, but why wouldn't you try a native connector? It supports patterns like "export only 100% translated file" and/or "export only 100% approved file" out of the box |
Beta Was this translation helpful? Give feedback.
-
Well, almost, it would export only approved stings and would skip untranslated and translated. Often it's used in combination with "skip untranslated files", so as a result you receive 100% approved files only |
Beta Was this translation helpful? Give feedback.
-
In my case I am interested in not letting a new deployment happen unless the translations are done. Is it possible to have the action exiting with error with any translation is missing? |
Beta Was this translation helpful? Give feedback.
-
You can use an additional step with Crowdin CLI for that: name: Crowdin sync
on:
workflow_dispatch:
jobs:
cli:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Crowdin CLI
run: npm i -g @crowdin/cli
- name: Check progress
run: crowdin status translation --fail-if-incomplete
# other steps the The same is relevant for a single language: |
Beta Was this translation helpful? Give feedback.
-
Hey Crowdin team.
Our team used the CLI on Team City and want to transfer to Github actions, we used to have a python script to check if the translation status is 100% before downloading the translation. This will block the PR merge if the translation is not complete. Do you think we can have an Action to check the progress?
Beta Was this translation helpful? Give feedback.
All reactions