Translation service

Hi Nick,

great work with the translation service!

I added it to https://github.com/kr1sp1n/awesome-gemini#services 
<https://github.com/kr1sp1n/awesome-gemini#services> and hope that much more services
will pop up in the foreseeable future.


@all: 	Does anyone know how to make links from gemini URLs in Markdown 
files so it will render in the browser?
	Is that even possible as long as the browser does not recognize the gemini schema?


Cheers,

Krispin

> On 27. Nov 2020, at 01:56, Nick Thomas <gemini at ur.gs> wrote:
> 
> Hola mis amigos!
> 
> I didn't find a capsule offering translation services in Geminispace,
> so I've put one together. It's linked from gemini://ur.gs, or you can
> construct a translation request URL manually, like so:
> 
> gemini://ur.gs/cgi-bin/translate/en/es?Hello%20world
> 
> Only en->es and es->en are supported right now; he estado aprendiendo
> espa?ol casi dos a?os ahora.
> 
> You can visit gemini://ur.gs/cgi-bin/translate to get a 10 prompt for
> translation.
> 
> It's using apertium, running on the same machine as the gemini server.
> If people like the service, I'll set up a babel.ur.gs or so somewhere,
> with more language pairs.
> 
> Improvements... well, visiting /translate could prompt for the source
> language, and /translate/en could prompt for the destination language.
> It could also, conceivably, take a URL to perform translation for.
> 
> Let me know what you think. I'm especially interested in translation
> quality and responsiveness - I only learned about apertium todaym and
> I've managed to get some pretty bad translations out of it so far :D.
> If you have suggestions for alternatives, I'm all ears, although
> apertium was pleasingly simple to set up. I might never visit deepl
> again!
> 
> Source code for the cgi-bin script is here:
> https://code.ur.gs/lupine/capsule/src/branch/main/src/cgi-bin/translate
> - it relies on the apertium and aperium-en-es packages being installed
> on the same machine, and on everything being UTF-8 throughout.
> 
> /Nick
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201127/f0c6
e3cf/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201127/f0c6
e3cf/attachment.sig>

---

Previous in thread (1 of 4): 🗣️ Nick Thomas (gemini (a) ur.gs)

Next in thread (3 of 4): 🗣️ Luke Emmet (luke (a) marmaladefoo.com)

View entire thread.