Add crowdin cli config

This commit is contained in:
kolaente 2021-09-05 13:01:53 +02:00
parent 240137cb79
commit acf52fbe16
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

24
crowdin.yml Normal file
View file

@ -0,0 +1,24 @@
project_id: 462614
api_token_env: CROWDIN_API_TOKEN
base_path: .
base_url: https://api.crowdin.com
preserve_hierarchy: false
files:
- source: /src/i18n/lang/*.json
#
# Where translations will be placed
# e.g. "/resources/%two_letters_code%/%original_file_name%"
#
translation: /src/i18n/lang/%two_letters_code%/%original_file_name%
#
# files or directories for ignore
# e.g. ["/**/?.txt", "/**/[0-9].txt", "/**/*\?*.txt"]
#
#"ignore" : [],
#
# The dest allows you to specify a file name in Crowdin
# e.g. "/messages.json"
#
#"dest" : "",