ExportTranslation

Description

Export TranslationXML from a given survey

Signature
string ExportTranslation(string key, string projectId, int targetLanguage, int baseLanguage, bool useFallbackLanguage, int fallbackLanguage)

Parameters

Name Data Type Description

key

string required

The authentication key

projectId

string required

ID of the project

targetLanguage

int required

The target language, i.e. the language this survey will be translated to.

baseLanguage

int required

The base language, i.e. the language this survey will be translated from.

useFallbackLanguage

bool required

Whether to use texts from a fallback language if some texts do not exist for the base language.

fallbackLanguage

int required

If fallback is enabled, the fallback language to use.

Response

Data Type Description

string

TranslationXML document

Example

var client = new AuthoringSoapClient();

var translationXml = client.ExportTranslation(clientKey, "p999999999999", 20, 2057, true, 9);