[DokuWiki plugin] One-click Toolbar Google Translate Button


Вт Окт 11, 2011 12:31
Jumangee
Во всех бочках затычка

One-click Toolbar Google Translate Button

Opens a window with google translation of selected words (en-ru)

Installation

Install the plugin using the Plugin Manager and the download URL below, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Usage

After installation you’ll find a new button at the end of your regular toolbar. Select word(s) and click it, new window will be opened with google translate page.

Customizing

Only english-russian translation is supported. To define your own pair, open file plugins\translatebutton\action.php, find line:
'url'    => 'http://translate.google.com/#en|ru|{selection}',
Change en|ru to needed by you. As you can see, translate engine can be changed too.


Представьтесь для добавления комментариев - регистрация в один клик!
Разделы форума