blob: 17aba16b2dae0399ecc8a950b6e5f0a0f7accf67 [file] [log] [blame]
avm999639f77d0d2020-12-28 22:16:12 +01001# Your Crowdin credentials
2"project_id" : "191707"
3"api_token" : "{{API_TOKEN}}"
4"base_path" : "../../."
5"base_url" : "https://api.crowdin.com"
6
7# Choose file structure in Crowdin
8"preserve_hierarchy": true
9
10# Files configuration
11files: [
12 {
13 # Source files filter
Adrià Vilanova Martíneza197d862022-05-27 17:33:20 +020014 "source" : "src/static/_locales/en/messages.json",
avm999639f77d0d2020-12-28 22:16:12 +010015
16 # Where translations will be placed
Adrià Vilanova Martíneza197d862022-05-27 17:33:20 +020017 "translation" : "src/static/_locales/%osx_locale%/%original_file_name%",
avm999639f77d0d2020-12-28 22:16:12 +010018
19 # Files or directories for ignore
20 "ignore" : ["OWNERS"],
21
22 # The dest allows you to specify a file name in Crowdin
23 # e.g. "/messages.json"
24 "dest" : "/messages.json",
25 "type" : "chrome",
26
27 "skip_untranslated_strings" : true,
28 "export_only_approved" : true,
29
30 "languages_mapping" : {
31 "osx_locale" : {
32 "es-AR" : "es_419",
33 "pt-PT" : "pt_PT",
34 "zh-CN" : "zh_CN",
35 "zh-TW" : "zh_TW",
36 }
37 },
Adrià Vilanova Martínez9f03abd2022-06-02 00:51:00 +020038
39 # This is so when editing a source string, the translations are preserved.
40 "update_option": "update_without_changes",
avm999639f77d0d2020-12-28 22:16:12 +010041 }
42]