pt-PT to pt-BR or en-US to en-GB) using several methods:
- Write/Rephrase endpoint: Rephrases text into the target language variant.
- Style rules: Create a custom style rule and apply it using the style_id parameter.
Both glossaries and style rules are unique to each of DeepL’s global data centers and are not shared between them. Clients using the api-us.deepl.com endpoint will not be able to access glossaries or style rules created in the UI at this time.
- Custom instructions: Add instructions like “translate to British English” to your
/translaterequest. You can specify up to 10 custom instructions, each with a maximum of 300 characters.
Example: Converting American English to British English
request
Example response