You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, we have not documented this yet on the CL, you can opt in this way:
import com.deepl.api.*;
class Example {
DeepLClient client;
public Example() throws Exception {
String authKey = "f63c02c5-f056-..."; // Replace with your key
client = new DeepLClient(authKey);
TextResult result = client.translateText("How are you?", null, "ACE", new TextTranslationOptions().setTagHandling("xml").setModelType("quality_optimized").setExtraBodyParameters(Map.of("tag_handling_version", "v2")));
}
}
Activity
JanEbbing commentedon Dec 2, 2025
Sorry, we have not documented this yet on the CL, you can opt in this way: