41 lines
1,014 B
YAML
41 lines
1,014 B
YAML
# Crowdin Configuration
|
|
# Defines source/translation file mappings and language settings
|
|
# See: https://developer.crowdin.com/configuration-file/
|
|
|
|
project_id: 883714
|
|
api_token_env: CROWDIN_PERSONAL_TOKEN
|
|
base_path: /
|
|
|
|
preserve_hierarchy: true
|
|
|
|
# Source files to translate
|
|
files:
|
|
- source: /docs/public/**.md
|
|
dest: /docs/public/{two_letters_code}
|
|
|
|
# Use existing translations if available (don't delete on updates)
|
|
translation_update: crowdin_move
|
|
|
|
# Language code mapping (all 10 Crowdin target languages)
|
|
languages_mapping:
|
|
two_letters_code:
|
|
sl: sl
|
|
de: de
|
|
hr: hr
|
|
sr: sr
|
|
ru: ru
|
|
el: el
|
|
it: it
|
|
mk: mk
|
|
sk: sk
|
|
bs: bs
|
|
|
|
# Automatic commits when translations complete
|
|
commit_message: 'translations: update {language} translations from Crowdin'
|
|
auto_commit: true
|
|
|
|
# Only commit when 100% translated
|
|
pull_request_title: 'translations: update {language} strings'
|
|
|
|
# Preserve .git metadata
|
|
preserve_git_history: true
|