-
-
Notifications
You must be signed in to change notification settings - Fork 302
Expand file tree
/
Copy pathcrowdin.yml
More file actions
45 lines (42 loc) · 1.26 KB
/
crowdin.yml
File metadata and controls
45 lines (42 loc) · 1.26 KB
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
#
# Crowdin CLI configuration for Kolibri Studio
# See https://crowdin.github.io/crowdin-cli/configuration for more information
# See https://support.crowdin.com/developer/configuration-file/ for all available options
#
#
# Your Crowdin credentials
#
"project_id": "286000"
"base_path": "."
"base_url": "https://api.crowdin.com"
#
# Defines whether to preserve the original directory structure in the Crowdin project
#
"preserve_hierarchy": false
#
# Files configuration.
#
files: [
# CSV translation files
{
"source": "/contentcuration/locale/en/LC_MESSAGES/*.csv",
"first_line_contains_header": true,
"scheme" : "identifier,source_phrase,context,translation",
"update_option": "update_as_unapproved",
"translation": "/contentcuration/locale/%locale_with_underscore%/LC_MESSAGES/%original_file_name%",
"languages_mapping": &language_mapping {
"locale_with_underscore": {
"ar": "ar",
"fr": "fr_FR",
"hi": "hi_IN",
},
},
},
# PO translation files
{
"source": "/contentcuration/locale/en/LC_MESSAGES/*.po",
"update_option": "update_as_unapproved",
"translation": "/contentcuration/locale/%locale_with_underscore%/LC_MESSAGES/%original_file_name%",
"languages_mapping": *language_mapping,
},
]