The news here is that I’m looking to use Google Translate to allow non-English speakers to read my other blog. That blog is about spirituality. To test it, I tried translating a page into Chinese and back.
But the results were not ideal. The sentence:
The Diamond Sutra is probably the most important text in Buddhism, at least equal in significance to the Heart Sutra and the Lotus Sutra.
Came back as:
“King Kong” is probably the most important Buddhist text, the “Heart Sutra” and “Lotus Sutra” at least equal significance.
Everyone says you can’t get a Google Translate button on a WordPress.Com blog. Not a general “translate this page” button. In fact, you can — I figured it out myself. What I can’t figure out is, whether it’s any good to do so.
To “translate this page” you need the link to “this page” — can’t do it without a specific link, but you can use the general link to your blog (e.g. “tiltedcandle.wordpress.com“). Remove the http:// and add the url to the end of this link:
You’ll get something like:
Which will translate Tilted Candle (in this case) from whatever language is detected into whatever the default browser language is for the viewer’s machine.
The secret is not to specify the destination language. The source language, destination language and user language can all be specified by parameters in the Google Translate url. Source Language can be set to auto, as it is in the demo (?sl=auto).
The other parameters maybe can’t be set to auto, but they certainly can be omitted. The super-geniuses who built Google Translate decided that should put the translate machine into its default action, which is to auto-detect the relevant languages. Pretty good, guys — thanks!
Everyone thought you needed a widget or a button or something. But no — the plain old html url does it. Google does all the heavy lifting.