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
{{ message }}
Repository navigation
Can't enable beta languages with the library? #150
I might be missing something but it seems like it is not possible to enable beta languages with this library.
In the documentation an enable_beta_languages is mentioned however it doesn't seems like it can be enabled using the library.
Can this parameter be enabled somewhere else or should I use the requests library and pass that parameter in the request instead?
You can use the extra_body_parameters to pass in e.g. enable_beta_languages as follows:
importdeeplauth_key="f63c02c5-f056-..."# Replace with your keydeepl_client=deepl.DeepLClient(auth_key)
deepl_client.translate_text("How are you?", target_lang="ACE", extra_body_parameters={"enable_beta_languages":True})
We have not added a specific enable_beta_languages parameter to the client libraries.
Activity
JanEbbing commentedon Nov 24, 2025
You can use the
extra_body_parametersto pass in e.g.enable_beta_languagesas follows:We have not added a specific
enable_beta_languagesparameter to the client libraries.lunolunoluno commentedon Nov 24, 2025
(small corrections from the answer given)
Thanks it works!
JanEbbing commentedon Nov 24, 2025
Thanks, too much JS recently, and there are apparently a few typos in the readme for this... :(