potamides / pantran.nvim

Use your favorite machine translation engines without having to leave your favorite editor.
MIT License
289 stars 2 forks source link

Endpoint of apertium has probably changed #13

Open petrisch opened 1 year ago

petrisch commented 1 year ago

I couldn't get it to run, but the endpoint seems to be: https://beta.apertium.org/apy/analyse seen here: Wiki

I always have a curl exit error when starting pantran.

petrisch commented 1 year ago

Oh I can actually configure it, nice :-) still doesn't work yet...

potamides commented 1 year ago

Hi, apertium works for me, what curl error do you get? What sometimes happens is that the apertium beta endpoint is slow to respond and curl exits with a timeout error. You can either increase the timeout (also configurable) or use the stable endpoint https://apertium.org/apy.

petrisch commented 1 year ago

Hm, yeah I dont know why really. On my windows machine it works, so it must be something with my linux system. I tried the timeout, but the error comes immediately, so I guess its somethin else. But don't worry I will figure it out.