Skip to content

Commit

Permalink
Merge pull request #1 from shopware/next-28516/init-crowdin
Browse files Browse the repository at this point in the history
NEXT-28516 - Init crowdin
  • Loading branch information
marcelbrode committed Oct 25, 2023
2 parents 83a5bdd + 265f5e3 commit 981be9f
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor/
39 changes: 39 additions & 0 deletions crowdin.yml
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,
}]

0 comments on commit 981be9f

Please sign in to comment.