Get localization worksheet

post/translationWorksheets/{translationLocale}
Internal-Use Only

Extract the translator's localization worksheet from a report for the specified locale. The human translator can use the worksheet to translate individual strings, and the worksheet can later be saved back to the report.

Request Samples

1

Response Samples

1en_US vi6.Section.label = Page 1 ve20.Graph.label = Bar - dealer 1 ve29.Graph.label = Scatter - returns 1 bi10.DataItem_CARS_dealer.label = dealer bi13.DataItem_CARS_returns.label = returns bi14.DataItem_CARS_sales.label = sales bi17.SourcePredefinedDataItem_CARS.label = Frequency

Path Parameters

NameTypeRequiredDescription
translationLocale
string
true

The locale for which the translation should be extracted.

Query Parameters

NameTypeRequiredDescription
validate
boolean
false

Determine whether to validate the report content against an XML schema. Defaults to true. Schema validation errors do not necessarily halt processing. Errors are reported in the transform's errorMessages list. The localization action will still be attempted, even if there are errors.

Default:
true

Request Body

The BIRD report from which to extract the translatable strings.

A report content that is the equivalent of the application/vnd.sas.report.content media type. The report content is defined by a non-public XML Schema. The structure shown here is an abbreviation showing only a few of the descriptive attributes of the object.

NameTypeRequiredDescription
xmlns
string
true

The XML Schema to which the object conforms.

label
string
false

User's name for the report.

modifiedBy
string
false

Last modifying user id.

dateCreated
string<date-time>
false

Date of report creation.

dateModified
string<date-time>
false

Date of last modification.

lastModifiedApplicationName
string
false

User-readable name of application name that last modified.

createdBy
string
false

Creating user id.

createdApplicationName
string
false

User-readable name of application, if any.

createdLocale
string
false

Locale of the report when first created and serialized.

createdVersion
string
false

Schema version of report when created.

Responses

StatusMeaningDescription
201CreatedSuccessful creation of language worksheet from the input report.HeadersSchema
400Bad RequestThe request was invalid. Some error in the request resulted in failure to perform the action. See the error codes table for further details.HeadersSchema