Translate
This plugin integrates the Google Ajax Language API to jQuery. You can just call e.g. $('body').translate('en') but provides callbacks for each translated element too. Or you can pass an array to $.translate to get back a translated array. Currently you can only send at most 500 characters with the raw API per request but this plugin calls them consecutively. It also reduces the number of requests by concatenating elements and doesn't send unnecessary html markup still providing access to each element as they've got translated. It provides a similar function and method for language detection too.
Here's a bookmarklet built on it: http://balazs.endresz.googlepages.com/translatebookmarklet
评论
Free Translate!
Ifyouwanttotranslatethetextquicklyandeasily,thisextensionisforyou...已更新2007年03月5日
Free Translate!
0
jQuery Translate Plugin
另一个客户端翻译API为jQueryTranslatePlugin。这个API也是对当前页面内容进行识别,并用JavaScript送到Google翻译API那里翻译。该API的优点是,它可以将多段分散
jQuery Translate Plugin
0