avm99963 | 9f77d0d | 2020-12-28 22:16:12 +0100 | [diff] [blame] | 1 | # 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 |
| 11 | files: [ |
| 12 | { |
| 13 | # Source files filter |
Adrià Vilanova Martínez | a197d86 | 2022-05-27 17:33:20 +0200 | [diff] [blame] | 14 | "source" : "src/static/_locales/en/messages.json", |
avm99963 | 9f77d0d | 2020-12-28 22:16:12 +0100 | [diff] [blame] | 15 | |
| 16 | # Where translations will be placed |
Adrià Vilanova Martínez | a197d86 | 2022-05-27 17:33:20 +0200 | [diff] [blame] | 17 | "translation" : "src/static/_locales/%osx_locale%/%original_file_name%", |
avm99963 | 9f77d0d | 2020-12-28 22:16:12 +0100 | [diff] [blame] | 18 | |
| 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ínez | 9f03abd | 2022-06-02 00:51:00 +0200 | [diff] [blame^] | 38 | |
| 39 | # This is so when editing a source string, the translations are preserved. |
| 40 | "update_option": "update_without_changes", |
avm99963 | 9f77d0d | 2020-12-28 22:16:12 +0100 | [diff] [blame] | 41 | } |
| 42 | ] |