描述
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.
屏幕截图
安装
- Extract the plugin using WinZip or similar program.
- Upload the folder, ‘Instant Translate’ in to the ‘/wp-content/plugins/’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Click Appearance -> Widgets
- Move the Instant Translate Widget to your side bar.
常见问题
- What languages are supported?
-
As many as Google Translate supports. Please see, http://code.google.com/apis/ajaxlanguage/documentation/#SupportedLanguages for more information.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.2
Added text transition effect framework, and one effect fadeout/in.
1.1
Fixed bug in admin section.
1.0
- Initial release