-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from shopware/next-28516/init-crowdin
NEXT-28516 - Init crowdin
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
"project_id_env": "CROWDIN_PROJECT_ID" | ||
"api_token_env": "CROWDIN_PERSONAL_TOKEN" | ||
"base_path": "." | ||
"base_url": "https://api.crowdin.com" | ||
"preserve_hierarchy": true | ||
|
||
files: [{ | ||
"source": "", | ||
"translation": "/src/translations/%two_letters_code%/%original_file_name%", | ||
|
||
# Files or directories for ignore | ||
# e.g. ["/**/?.txt", "/**/[0-9].txt", "/**/*\?*.txt"] | ||
# | ||
# "ignore": [], | ||
|
||
"type": "json", | ||
|
||
# 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": "", | ||
|
||
# 0 - do not escape single quote; | ||
# 1 - escape single quote by another single quote; | ||
# 2 - escape single quote by backslash; | ||
# 3 - escape single quote by another single quote only in strings containing variables ( {0} ). | ||
"escape_quotes": 2, | ||
|
||
# Defines whether any special characters (=, :, ! and #) should be escaped by backslash in exported translations. | ||
# 0 - do not escape special characters | ||
# 1 - escape special characters by a backslash | ||
"escape_special_characters": 0 | ||
|
||
# | ||
# Does the first line contain header? | ||
# e.g. true or false | ||
# | ||
# "first_line_contains_header": true, | ||
}] |