Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

sourceLocaleThe language that shall be considered as source for the copy. See Languages for a list of all supported ISO-2 language codes.Required
languagesToCopy

A json array containing a list of language mappings. See below for details.

 

Example:

 

languagesToCopy: [ { "locale": "en-GB", "mappedLocale": "en" } ]

Required
bookmarkExcludeRed

Default: false

If true then texts with red bookmark are excluded during copy.

Optional
skipSourceIsTarget

Default: true

If true then translations identical to source are excluded

Optional
statusExcludeError

Default: true

If true then texts in error status are excluded

Optional
customFields

A json array containing a list of custom field ids and values. See below for details.

 

Example:

 

Code Block
[ {
	"Id": "CustomStr1", 
	"Value": "My field" 
}, 
{ 
	"Id": "CustomStr5", 
	"Value": "A-2233" 
} ]
Optional
modifiedFromGet texts modified after this date.Optional
modifiedToGet texts modified before this date.Optional
docIds

Optional: A comma-separated list of documents ids. If set, clear word counts for those specific documents only. Identifies document by document id.

Example: "docids: 2011,2020,2024"

Optional

mergeOption

Default: 3

0: Merge new and existing data - Replace existing translations

1: Merge new and existing data - Do not import if translation already exists

2: Do not merge but skip doubles

3: Do not merge and do not look for doubles (fastest!)

Optional

...

localeThe language of the resource from which the segments are copied. See See Languages for a list of all supported ISO-2 language codes.Required
mappedLocaleThe language to map in the target resource. See See Languages for a list of all supported ISO-2 language codes.Required

...

If not 0 then your software should poll the status of the operation every 5 seconds. See Asynchronous operations, operation "asyncoperations/{operationid}/status".

...