diff options
author | Michael Keller <github@ike.ch> | 2018-02-24 13:43:10 +0300 |
---|---|---|
committer | mikeller <github@ike.ch> | 2018-02-24 23:01:22 +0300 |
commit | 826ec4453f059447c50ffbc9c0e73a1cb62f135d (patch) | |
tree | 74746dfad046ff6df9721ccb83dd22db4a1d952c /crowdin.yml | |
parent | b3f024ef1292abb9fe8c14068e5c1a23a9bafc06 (diff) |
Update Crowdin configuration file
Diffstat (limited to 'crowdin.yml')
-rw-r--r-- | crowdin.yml | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/crowdin.yml b/crowdin.yml index dcea1d24..806b06a5 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,3 +1,32 @@ -files: - - source: /locales/en/messages.json - translation: /locales/%locale_with_underscore%/%original_file_name% +# +# Files configuration +# +"preserve_hierarchy": false + +files: [ + { + # + # Source files filter + # e.g. "/resources/en/*.json" + # + "source" : "/locales/en/messages.json", + + # + # where translations live + # e.g. "/resources/%two_letters_code%/%original_file_name%" + # + "translation" : "/locales/%two_letters_code%/%original_file_name%", + + # + # Often software projects have custom names for locale directories. crowdin-cli allows you to map your own languages to be understandable by Crowdin. + # + "languages_mapping" : { + "two_letters_code" : { + "es-ES" : "es", + "pt-PT" : "pt", + "sv-SE" : "sv", + "zh-CN" : "zh_CN" + } + } + } +] |