Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/betaflight/betaflight-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Keller <github@ike.ch>2018-02-24 13:43:10 +0300
committermikeller <github@ike.ch>2018-02-24 23:01:22 +0300
commit826ec4453f059447c50ffbc9c0e73a1cb62f135d (patch)
tree74746dfad046ff6df9721ccb83dd22db4a1d952c /crowdin.yml
parentb3f024ef1292abb9fe8c14068e5c1a23a9bafc06 (diff)
Update Crowdin configuration file
Diffstat (limited to 'crowdin.yml')
-rw-r--r--crowdin.yml35
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"
+ }
+ }
+ }
+]