feat: crowdin.yml

This commit is contained in:
Eli Bosley
2025-07-02 16:07:44 -04:00
parent 1f5fb389af
commit 1e15272911
2 changed files with 13 additions and 4 deletions

10
.github/crowdin.yml vendored Normal file
View File

@@ -0,0 +1,10 @@
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
base_path: .
preserve_hierarchy: true
files:
- source: .github/translations/*.po
translation: emhttp/languages/%locale%/*.po
- source: emhttp/languages/en_US/*.txt
translation: emhttp/languages/%locale%/*.txt

View File

@@ -47,10 +47,9 @@ jobs:
upload_translations: false
download_translations: false
create_pull_request: false
# Configure source files directly in workflow
source: .github/translations/*.po,emhttp/languages/en_US/*.txt
translation: emhttp/languages/%locale%/*.po,emhttp/languages/%locale%/*.txt
# Configuration file location
config: .github/crowdin.yml
# For Crowdin Enterprise, use: base_url: 'https://{organization-name}.api.crowdin.com'
# For standard Crowdin, this can be omitted or use: base_url: 'https://api.crowdin.com'
base_url: 'https://unraid.api.crowdin.com'