/
Locale: Requesting translations

Locale: Requesting translations

Get translations for any JSON payload. You request to translate a JSON payload like so:

curl -X POST "https://api.locale.to/api/translations" \
-H "Authorization: Bearer {{ yourApiKey }}" \
-d "{ jsonPayload }".

And, given the above payload example, the response will look like this: {}.

By default all values in your payload will be translated to the languages set up in your API project. Do not want to include a certain language? Remove it from your project.

Related content

Locale: How to find your DatoCMS Full-access API token
Locale: How to find your DatoCMS Full-access API token
More like this
Locale: Zendesk Demos and Recordings
Locale: Zendesk Demos and Recordings
Read with this
Locale: Authentication
Locale: Authentication
More like this
Locale: Joomla Demos and Recordings
Locale: Joomla Demos and Recordings
Read with this
Locale: Prerequisites
Locale: Prerequisites
More like this
Locale: Supported content & limitations
Locale: Supported content & limitations
Read with this