2020-09-30 10:49:48 +00:00
|
|
|
# Used with the Crowdin CLI or GitHub Actions
|
|
|
|
|
|
|
|
# CLI Usage (use --dryrun for preview):
|
2020-10-01 01:27:52 +00:00
|
|
|
# crowdin download --identity ~/.crowdin.yaml
|
|
|
|
# crowdin upload sources --identity ~/.crowdin.yaml
|
|
|
|
# crowdin upload translations --identity ~/.crowdin.yaml
|
2020-09-30 10:49:48 +00:00
|
|
|
|
|
|
|
# These tokens are overriden when using cli with project_id and api_token
|
|
|
|
project_id_env: CROWDIN_PROJECT_ID
|
|
|
|
api_token_env: CROWDIN_PERSONAL_TOKEN
|
|
|
|
|
|
|
|
# https://support.crowdin.com/configuration-file-v3/#saving-directory-structure-on-server
|
|
|
|
preserve_hierarchy: true
|
|
|
|
base_path: docs
|
|
|
|
|
|
|
|
files:
|
|
|
|
- source: /*.md
|
|
|
|
translation: /i18n/%language%/%original_file_name%
|
2020-10-01 01:27:52 +00:00
|
|
|
ignore:
|
|
|
|
- _coverpage.md
|
|
|
|
- _navbar.md
|
2020-10-01 22:37:20 +00:00
|
|
|
- _translations.md
|
2020-10-01 01:27:52 +00:00
|
|
|
- README.md
|
2020-09-30 10:49:48 +00:00
|
|
|
- source: /flight-manuals/*.md
|
|
|
|
translation: /i18n/%language%/flight-manuals/%original_file_name%
|
2020-10-01 01:27:52 +00:00
|
|
|
ignore:
|
|
|
|
- working-on-virtual-machines.md
|