chore: setup Crowdin integration

This commit is contained in:
CMK 2021-08-02 16:39:33 +08:00
parent 28838b65f1
commit 6b3df75f95
1 changed files with 30 additions and 0 deletions

30
crowdin.yml Normal file
View File

@ -0,0 +1,30 @@
#
# Files configuration
#
files: [
{
#
# Source files filter
# e.g. "/resources/en/*.json"
#
"source" : "/Localization/app.json",
#
# Where translations will be placed
# e.g. "/resources/%two_letters_code%/%original_file_name%"
#
"translation" : "/Localization/StringsConvertor/input/%two_letters_code%/%original_file_name%",
#
# The parameter "update_option" is optional. If it is not set, after the files update the translations for changed strings will be removed. Use to fix typos and for minor changes in the source strings
# e.g. "update_as_unapproved" or "update_without_changes"
#
"update_option" : "update_as_unapproved",
#
},
{
"source" : "/Localization/ios-infoPlist.json",
"translation" : "/Localization/StringsConvertor/input/%two_letters_code%/%original_file_name%",
"update_option" : "update_as_unapproved",
}
]