Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Update Crowdin configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeller committed Feb 24, 2018
1 parent b3f024e commit 826ec44
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
]

0 comments on commit 826ec44

Please sign in to comment.