Create organization translation file

View as MarkdownOpen in Claude
This endpoint creates a new organization translation file for the specified locale, containing the translation key-value pairs, if provided. You can also use this endpoint to create custom translations for a locale. Entering common phrases and their translations used in workbooks across your organization ensures consistent translations for all users. ### Usage Notes - Retrieve the supported locale identifiers to use for **lng** from [Supported languages and locales](/docs/manage-workbook-localization#supported-languages-and-locales).

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Request

The request body.
lngstringRequired
The locale identifier corresponding to the language of the translation.
lng_variantstring or nullOptional
The name of the custom translation variant, if applicable
translationsmap from strings to stringsOptional
A JSON object with phrases as keys and their translations as values

Response

The response body.