Skip to content

Download translations from Crowdin #21

Download translations from Crowdin

Download translations from Crowdin #21

name: Download translations from Crowdin
on: workflow_dispatch
jobs:
download-from-crowdin:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Crowdin Action
uses: crowdin/github-action@v1
with:
upload_sources: false
upload_translations: false
download_translations: true
skip_untranslated_strings: true
skip_untranslated_files: false
commit_message: 'Import translation work from Crowdin'
create_pull_request: true
pull_request_title: 'New Crowdin translations'
pull_request_labels: 'enhancement'
config: 'crowdin.yml'
dryrun_action: false
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}