Add File

Request

Parameters

Name

Value

Description

files required

array

Files array that should be added to Crowdin project. Array keys should contain file names with path in Crowdin project. Note! 20 files max are allowed to upload per one time file transfer. The maximum size of one file is 100 MB.

titles optional

array

An arrays of strings that defines titles for uploaded files. Array keys should contain file names with path in Crowdin project.

export_patterns optional

array

An arrays of strings that defines names of resulted files (translated files in resulted archive). Array keys should contain file names with path in Crowdin project.

"source_or_translation" — Column contains source string but when exporting same column should contain translation (also when uploading existing translations, the value from this column will be used as a translated string).

Note! If defined, the parameters "translate_content" and "translate_attributes" are not taken into account while importing.

escape_quotesproperties files onlyoptional

integer

Defines whether single quote should be escaped by another single quote or backslash in exported translations. Acceptable values are: 0, 1, 2, 3. Default is 3.

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} )

Variables

project-identifierrequired

string

Should contain the project identifier.

project-key required

string

Project API key.

Response

If the method is successful it responds with an XML structure, as it is shown below.