forked from DataDog/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
translate.yaml
61 lines (60 loc) · 1.73 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
---
enabled: true
enabled_send: true
enabled_receive: true
transifex:
org: 'datadog'
project_slug: 'documentation_loc'
user: 'api'
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"
ignores:
- "content/en/**/faq/!(agent_v6_changes|certificate_verify_failed-error).md"
- "**/*.fr.md"
- "**/*.fr.yaml"
- "**/*.fr.json"
- "**/fr.json"
- "**/*.ja.md"
- "**/*.ja.yaml"
- "**/*.ja.json"
- "**/ja.json"
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'