Skip to content

Download translations #2304

Download translations

Download translations #2304

name: Download translations
on:
push:
branches: [staging]
schedule:
- cron: '0 8 * * *'
jobs:
download_translations:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download translations
uses: crowdin/github-action@v1.20.4
env:
GITHUB_TOKEN: ${{github.token}}
CROWDIN_PROJECT_ID: 342361
with:
upload_sources: true
upload_translations: false
download_translations: true
push_translations: true
create_pull_request: true
localization_branch_name: 'translations'
pull_request_title: 'chore: Update translations'
commit_message: 'chore: Update translations'
token: ${{secrets.WEBTEAM_CROWDIN_TOKEN}}
source: '/src/i18n/en-US.json'
translation: '/src/i18n/%locale%.json'
base_path: '.'