forked from DataDog/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtranslate.yaml
77 lines (72 loc) · 2.3 KB
/
translate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
# New params
receive_enabled: true
sync_enabled: true
# if true, no github or transifex api writes will happen.
# instead logs will be created to simulate results.
sync_dry_run_enabled: false
# These files will be ignored or deleted when syncing with Transifex.
ignores:
- "content/en/**/faq/!(agent_v6_changes|certificate_verify_failed-error).md"
- "content/en/security_platform/default_rules/*.md"
- "content/en/security_monitoring/default_rules/*.md"
- "content/en/integrations/rapdev_services.md"
- "**/*.fr.md"
- "**/*.fr.yaml"
- "**/*.fr.json"
- "**/fr.json"
- "**/*.ja.md"
- "**/*.ja.yaml"
- "**/*.ja.json"
- "**/ja.json"
# These files will be uploaded to Transifex for translation when syncing.
sources:
- src: "content/en/**/*.md"
dst: "content/{lang}/**/*.md"
- src: "data/api/**/translate_actions.json"
dst: "data/api/**/translate_actions.{lang}.json"
- src: "data/api/**/translate_tags.json"
dst: "data/api/**/translate_tags.{lang}.json"
- src: "data/partials/*.yaml"
dst: "*.{lang}.yaml"
- src: "i18n/en.json"
dst: "{lang}.json"
- src: "config/_default/params.en.yaml"
dst: "config/_default/params.{lang}.yaml"
- src: "config/_default/menus/menus.en.yaml"
dst: "config/_default/menus/menus.{lang}.yaml"
- src: "content/en/agent/faq/agent_v6_changes.md"
dst: "content/{lang}/agent/faq/agent_v6_changes.md"
- src: "content/en/agent/faq/certificate_verify_failed-error.md"
dst: "content/{lang}/agent/faq/certificate_verify_failed-error.md"
# Legacy translation params
# enabled: true
# enabled_send: true
# enabled_receive: true
# transifex:
# org: 'datadog'
# project_slug: 'documentation_loc'
# user: 'api'
# filters:
# - src: "data/integrations/*.yaml"
# template: ".translate/templates/integrations.yaml"
# langs:
# - lang_country: "fr_FR"
# lang: "fr"
# - lang_country: "ja"
# lang: "ja"
# github:
# org: 'DataDog'
# repo: 'documentation'
# branch_from: 'master'
# commit_message: 'Adding translations'
# pr_to: 'master'
# pr_title: 'Translation PR'
# pr_body: 'This is an automated PR created by the scheduled translation task pulling the latest translated files'
# pr_labels:
# - "Translation"
# pr_preview_base_url: "https://docs-staging.datadoghq.com"
# reviewers:
# - name: 'David Jones'
# github_user: 'davidejones'
# slack_user: 'david.jones'