Skip to content

fix(translate): update the free translation endpoint - #249

Closed
zrumyk wants to merge 1 commit into
OwO-Network:mainfrom
zrumyk:fix/free-translation-endpoint
Closed

zrumyk wants to merge 1 commit into
OwO-Network:mainfrom
zrumyk:fix/free-translation-endpoint

Conversation

@zrumyk

@zrumyk zrumyk commented Nov 19, 2026 •

Copy link
Copy Markdown

Problem

DLX's anonymous POST /translate returns HTTP 429 in #248, while the DeepL web translator still works.

Change

Use the web translator's ita-free.www.deepl.com host for the existing free /v1/translate request. The behavioral change is one endpoint constant. The other two edits update comments.

Verification

A Windows x64 smoke test on November 19, 2026 used one short EN → UK request per build from the same machine:

Build POST /translate with Hello
Stock DLX v1.3.1 release asset HTTP 429
DLX at 83f97d3 rebuilt with only the free URL changed HTTP 200, Привіт, method Free

The live comparison covers the one-line patch on 83f97d3. On this PR branch, go build ./..., go vet ./..., and go test ./... pass with Go 1.27.4 on Windows.

ita-free is a web app backend and may change independently of DLX.

Fixes #248.

@zrumyk zrumyk closed this Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

429 error

1 participant