Support lingva translate service

https://github.com/TheDavidDelta/lingva-translate
This commit is contained in:
Ben Busby 2021-12-17 09:45:06 -07:00
parent 10a7ffa938
commit 0745b814a5
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1
2 changed files with 12 additions and 0 deletions

View file

@ -30,6 +30,7 @@ For example:
| [Whoogle](https://github.com/benbusby/whoogle-search) | Search "Elixir" | https://farside.link/whoogle/search?q=elixir
| [Searx](https://github.com/searx/searx) | Search "Redis" | https://farside.link/searx/search?q=redis
| [SimplyTranslate](https://git.sr.ht/~metalune/simplytranslate_web) | Translate "hola" | https://farside.link/simplytranslate/?engine=google&text=hola
| [Lingva](https://github.com/TheDavidDelta/lingva-translate) | Translate "bonjour" | https://farside.link/lingva/auto/en/bonjour
## How It Works

View file

@ -167,6 +167,17 @@
"https://translate.riverside.rocks"
]
},
{
"type": "lingva",
"test_url": "/auto/en/hola",
"fallback": "https://lingva.ml",
"instances": [
"https://lingva.ml",
"https://translate.alefvanoon.xyz",
"https://translate.igna.rocks",
"https://lingva.pussthecat.org"
]
},
{
"type": "whoogle",
"test_url": "/search?cookies_disabled=1&q=<%=query%>",