deepl-dotnet icon indicating copy to clipboard operation
deepl-dotnet copied to clipboard

Support of tone and writing_style for French, Italian, Portuguese and Spanish for Rephrase is still missing in the DeepL API Pro

Open RegisBarbier opened this issue 7 months ago • 6 comments

The support of tone and writing_style for French, Italian, Portuguese and Spanish is already present in your DeepL Write Web Interface https://www.deepl.com/en/write

Image

but it is still missing for the Rephrase feature in the DeepL API Pro (only English UK, English US and German are actually supported). It would be very helfpul if you could implement it soon. Best regards. Regis Barbier

RegisBarbier avatar Sep 11 '25 07:09 RegisBarbier

What do you mean by missing? I can use for example spanish in the API:

 curl -v -X POST https://api.deepl.com/v2/write/rephrase \
  --header "Content-Type: application/json" \
  --header "Authorization: DeepL-Auth-Key KEY" \
  --data "{
    \"text\": [\"Hola qe tal\"], \"source_lang\": \"ES\", \"target_lang\":\"ES\"
  }"

{"improvements":[{"text":"Hola, ¿qué tal?","detected_source_language":"es","target_language":"es"}]}

The CLs don't have types for the write languages, so Im not sure what would be missing?

JanEbbing avatar Sep 11 '25 07:09 JanEbbing

I mean there that no text improvement will be delivered for French, Italian, Portuguese and Spanish because the parameter tone or writing_style are only supported for English UK, English US and German.

Then you will only get the input sentence wihout any improvement.

If you send your request with 'tone'='friendly' or any allowed value (the same for the parameter 'writing_style', you get then the following error message: { "message": "Bad request. Reason: Language Spanish does not support setting a tone" }

On your Deepl Write Web interface those languages ( French, Italian, Portuguese and Spanish) are fully supported and due to this I sent my request.

RegisBarbier avatar Sep 11 '25 08:09 RegisBarbier

Ah, thank you. I will look into it :)

JanEbbing avatar Sep 11 '25 08:09 JanEbbing

@JanEbbing Is a new release containing the support of those languages (French, Italian, Portuguese and Spanish) for tone and writing_style already planned? Thank you very much in advance for your reply and your support

RegisBarbier avatar Sep 23 '25 05:09 RegisBarbier

Sorry for the delay here. We will probably only be able to get to this in December

JanEbbing avatar Oct 16 '25 09:10 JanEbbing

@JanEbbing Is a new release containing the support of those languages (French, Italian, Portuguese and Spanish) for tone and writing_style already planned before the winter break? Thank you very much in advance for your reply and your support. Best regards

RegisBarbier avatar Dec 07 '25 09:12 RegisBarbier

Sorry for the delay here. We will probably only be able to get to this in December

@JanEbbing I tested just now if the support of those languages (French, Italian, Portuguese and Spanish) for tone and writing_style was already implemented in your DeepL API Pro:

{{baseUrl}}/v2/write/rephrase

Body: { "text": [ "Hola qe tal" ], "source_lang": "ES", "target_lang": "ES", "writing_style": "default", "tone": "friendly" }

Still getting the same error message: { "message": "Bad request. Reason: Language Spanish does not support setting a tone" }

Do you know when the DeepL API Pro will support those features tone and writing_style for French, Italian, Portuguese and Spanish? Thank you very much in advance for your reply and your support. Best regards and best wishes for the new year!

RegisBarbier avatar Jan 05 '26 07:01 RegisBarbier

@JanEbbing Sorry that I ask again but I really need this information. Is a new release containing the support of those languages (French, Italian, Portuguese and Spanish) for tone and writing_style already planned before the winter break? Thank you very much in advance for your reply and your support. Best regards

RegisBarbier avatar Jan 21 '26 14:01 RegisBarbier