Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

InstantTranslate Widget

Aprašymas

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.

Ekrano nuotraukos

  • 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.

Diegimas

  1. Extract the plugin using WinZip or similar program.
  2. Upload the folder, ‘Instant Translate’ in to the ‘/wp-content/plugins/’ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Click Appearance -> Widgets
  5. Move the Instant Translate Widget to your side bar.

DUK

What languages are supported?

As many as Google Translate supports. Please see, http://code.google.com/apis/ajaxlanguage/documentation/#SupportedLanguages for more information.

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“InstantTranslate Widget” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

1.2

Added text transition effect framework, and one effect fadeout/in.

1.1

Fixed bug in admin section.

1.0

  • Initial release