Files array that should be translated. Array keys should contain file names with path in Crowdin project.
Defines which method will be used for pre-translation. Acceptable values are:
"tm" — Pre-translation via Translation Memory
"mt" — Pre-translation via Machine Translation. Should be used with engine parameter.
Translation Memory is used by default.
Defines engine for Machine Translation. Acceptable values are:
"microsoft" — Pre-translation via Microsoft Translator
"google" — Pre-translation via Google Translate
"yandex" — Pre-translation via Yandex.Translate
Note: Ensure that you have set appropriate keys for Machine Translation.
Automatically approves translated strings. Acceptable values are: 1 or 0. It works only with TM pre-translation method.
Defines which translations added by pre-translation via TM should be auto-approved. Acceptable values are 0, 1, or 2. The default value is 0.
"0" — all
"1" — with perfect match
"2" — all (skip auto-substituted suggestions)
Note:Works only when "approve_translated" parameter is used with value 1.
Adds translations even if the same translation already exists. Acceptable values are: 1 or 0. It works only with TM pre-translation method.
Applies translations for untranslated strings only. Acceptable values are: 1 or 0. It works only with TM pre-translation method.
Pre-translate will be applied only for those strings, that have absolute match in source text and contextual information. Acceptable values are: 1 or 0. It works only with TM pre-translation method.
May not contain value. Defines that response should be in JSON format.
Callback function name. Defines that response should be in JSONP format.
Your username in Crowdin.
Your account API key.
If the method is successful it responds with an XML structure, as it is shown below: If you request languages that are not included in your project, the response looks like: Unsuccessful response sample: