wagtail-localize icon indicating copy to clipboard operation
wagtail-localize copied to clipboard

Ability to set DeepL API URL

Open raindeer opened this issue 3 years ago • 2 comments
trafficstars

DeepL offers free limited API access with an alternative API URL: https://api-free.deepl.com/v2/translate vs https://api.deepl.com/v2/translate.

It would be great if one could change the default API URL to the free one. It's great for testing during development etc.

Manually just changing the URL in machine_translators/deepl.py works, so this should be an easy win.

raindeer avatar Feb 04 '22 10:02 raindeer

See #505. The PR needs a couple of tweaks and some tests. If you can help with that, please do

zerolab avatar Feb 04 '22 10:02 zerolab

@raindeer @zerolab I'll be working on it tomorrow.

vladox avatar Feb 14 '22 18:02 vladox

fixed in #604 and will be available in the next release

zerolab avatar Sep 12 '22 10:09 zerolab