If you’ve been on Diaspora much this past summer, you’ve probably noticed a bustling international community speaking all sorts of languages. Don’t you wish you knew what was going on? Well, now you can, thanks to a sexy Greasemonkey script.
First, what you need: (i) Firefox or Chrome, (ii) a Google account, and (iii) be running off diasp.org, joindiaspora.com or geraspora.de (though the code is easily modifiable for other pods).
To get it working:
- Install both Greasemonkey and the Diaspora Translate and Security check script. Click here for a how-to on installing Greasemonkey on Chrome.
- Create an API key, enable Services → Translate API, copy key from API Access.
- In your browser, select Menu → Tools → Greasemonkey → “Manage User Scripts” → right-click “Diaspora Translate” → “Edit”. Replace the key in line 32 with your key from step no. 2 above.
And presto! Now, whenever you click “translate”, all foreign-language texts will automatically be translated into the default language of your browser. You can watch it in action here (though the newest release lacks the large, grey “Translate” button up top; it is now moved to between “profile” and “settings” in the menu on the upper, right-hand corner of your screen). Caveat: Translations will not be perfect since they rely on the Google machine, but they should be good enough to convey at least a rough sense of meaning. Caveat no. 2: There are talks that Google will be disabling its API translate service these next few months, but that still leaves you with at least a season of playing with it.
Please feel free to contact the author about anything Diaspora-related, or to suggest a topic for a future post.