Skip to content

Commit f215c29

Browse files
committed
updated per claude subagent readme
1 parent 3585cf4 commit f215c29

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/learning-how-tos/examples-and-guides/translating-between-variants.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The DeepL API can translate between variants of the same language (for example,
99
- **[Write/Rephrase endpoint](/api-reference/improve-text)**: Rephrases text into the target language variant. This method is fully supported.
1010

1111
<Info>
12-
While preliminary testing has yielded positive results for the methods outlined below, please note that they are not fully supported and may not always perform as intended. We encourage you to conduct your own evaluations tailored to your specific use case.
12+
Please note that currently, the methods outlined below are not fully supported for this use case and may not always perform as intended. We encourage you to conduct your own evaluations.
1313

1414
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.
1515
</Info>
@@ -18,9 +18,10 @@ Both glossaries and style rules are unique to each of DeepL's global data center
1818

1919
- **[Custom instructions](/api-reference/translate/request-translation#body-custom-instructions)**: Add instructions like "translate to British English" to your `/translate` request. You can specify up to 10 custom instructions in conjunction, each with a maximum of 300 characters.
2020

21-
## Example: Converting American English to British English
21+
## Example: Converting American English to British English using the custom_instructions parameter:
2222

23-
``` Example request
23+
Example request
24+
```bash
2425
curl -X POST 'https://api.deepl.com/v2/translate' \
2526
--header 'Content-Type: application/json' \
2627
--header 'Authorization: DeepL-Auth-Key [yourAuthKey]' \
@@ -32,7 +33,8 @@ curl -X POST 'https://api.deepl.com/v2/translate' \
3233
}'
3334
```
3435

35-
```json Example response
36+
Example response
37+
```json
3638
{
3739
"translations": [
3840
{

0 commit comments

Comments
 (0)