Katharina 🍪 is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Katharina 🍪 @spacekookie

I really wish there was a plugin that could on-the-fly translate toots of a different language, allowing me to switch between "original" and "translated".

· Web · 19 · 25

@spacekookie Or a filter for languages you understand. Additional feature: translate toots automatically in a language you understand.

@spacekookie You kind of can, in Chrome. Not mobile though.

@spacekookie I have not tried this but here is a tampermonkey script to add a Translate Toot option to toots via GoogleTranslate github.com/tomouchuu/mastodon-

@spacekookie Automatic translation means sending all our post (public and private) to either Google (Google Translate) or Microsoft (Bing) for them to index them as they see fit. All privacy efforts goes to waste. There is however translation plugins for your browser that can do the trick.

@kingu_platypus_gidora Well, yea. If anything I could have expected there to be an open-source solution that can be hosted on the same server as the instance. I wouldn't feel comfortable either sending data en-mass to google or microsoft.

I'll definitely check out that plugin though. Looks interesting

@spacekookie Sadly, as far as I know, there is no such thing as an open-source translator that is usable yet... :(

@spacekookie I dunno if you have the background to do the coding, but this would probably be pretty doable as a Greasemonkey user-script, assuming you have access to some translation service API.
@spacekookie I see your profile says Software Engineer now, cool! me too

@csaurus I write device drivers in C/C++. I'm not sure where I would start with anything JS related :P

@spacekookie Honestly, you should stick with that then. JS is nothing to envy, and I wish I could spend my days writing C, though C++ is terrifying/awful to me. Probably gets better with experience. Given a choice, I like to use languages like Haskell and Lisp.
@spacekookie I mean, not to imply you couldn't learn if you wanted to. I'm just saying Web Dev is a weird place :p

@csaurus Yea, I thought the same thing. I have a few friends who do webdev for a living and I do not envy them.

It's something I might want to play around with just for fun but it wouldn't be JS. And it would be something simpler than trying to hack into mastodons UI :P

@spacekookie JS is pretty nice for what it was actually made for: dynamically editing web-pages. Unfortunately most web-pages these days are massive bloated beasts. I need uMatrix to use the internet comfortably. It's also annoyed me when I see cool new project X which has nothing to do with the web, only to find out it's JS -.-

Userscripts aren't a bad way to play around with it though.

@spacekookie I seen something like a greasemonkey type of plugin. let me see if I can find it

@spacekookie it shouldn't be too hard to make a chrome extension to do that.