Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .crowdin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
preserve_hierarchy: 1
files:
- source: /Resources/Private/Language/*.xlf
translation: /%original_path%/%two_letters_code%.%original_file_name%
ignore:
- /**/%two_letters_code%.%original_file_name%
29 changes: 29 additions & 0 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Crowdin

on:
push:
branches:
- master
paths:
- '**.xlf'

jobs:
sync:
name: Synchronize with Crowdin
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Upload sources
uses: crowdin/github-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
config: '.crowdin.yml'
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
crowdin_branch_name: 'main'
upload_sources: true
upload_translations: false
download_sources: false
download_translations: false