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.