InstantTranslate Widget InstantTranslate Widget

InstantTranslate Widget

Created by: Michael Camden

Rating:
Downloaded: 1k times

Instant Translate Widget is my first attempt at a Word Press widget. It lives in the Widget menu, and uses jQuery and Google Translate to instantly translate text on my blog. It uses jQuery’s selector to determine what text you want to translate. For example, the selector I use is, “.post h2,.entry > *:not(pre), .translate”. Which translates all of my titles, and entry text and not any thing within PRE tags. This lets me keep my code in English, but translate the explanation.

Screenshots

  • This shows the blog in it's normal state.
  • Clicking on the drop down, shows you the many languages this supports.
  • I've clicked on, FINNISH, and the text updated as soon as I clicked.

Categories

Get New Themes & Resources