Skip to content

Commit

Permalink
Add possibility to download translations
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Nov 4, 2024
1 parent 30e29c7 commit 0edec58
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/crowdin_download.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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@v4

- name: Crowdin Action
uses: crowdin/github-action@v2
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: ${{ vars.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0edec58

Please sign in to comment.