Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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. Don't want to include a certain language? Remove it from your project.

  • No labels