Translator with Baidu Service
开发者 |
gongwan33
|
更新时间 |
2017年2月23日 12:34 |
捐献地址: |
去捐款 |
PHP版本: |
3.8 及以上 |
WordPress版本: |
4.7 |
版权: |
GPLv2 or later |
版权网址: |
版权信息
|
详情介绍:
Translate your site in many languages with this plugin from JoyBin, Inc. (The service provider is Baidu.) Currently we support 25 languages: Chinese, English, Japanese, Korean, French, Spanish, Thai, Arabic, Russian, Portuguese, German, Italian, Greek, Dutch, Polish, Bulgarian, Estonia, Danish, Finnish, Czech, Romanian, Slovenia, Swedish, Hungarian, Vietnamese. And we support 4 kinds of Chinese: Simplified Chinese, Cantonese, Classical Chinese and Traditional Chinese.
安装:
- Upload the plugin files to the
/wp-content/plugins/baidu-translator
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress.
- Use the Settings->BD Translator screen to configure the plugin.
- You can use shortcode or widget to add Translator with Baidu Service to your page.
- Shortcode: Add [baidu_translator] to where you want to insert this plugin. Or click the 'Translator' button and choose 'Insert plugin' when editing the posts and pages.
For Example:
<html>
<body>
<div>
<h>Supper Site</h>
<ul>
<li>HOME</li>
<li>ABOUT US</li>
<li><?php do_shortcode('[baidu_translator]');?></li>
</ul>
</div>
</body>
</html>
- Widget: Config the widget in Appearance->Widget->BD Translator to add the plugin to the specific part of your page.
- Set 'no translate' area. Please wrap the content you don't want to translate with the wrapper [notranslate][/notranslate] to tell the plugin not to translate the specific content.
For Example:
[notranslate]THE CONTENT YOU DON'T WANT TO TRANSLATE[/notranslate]
屏幕截图:
1.10
- Fix css bug to fit more stuations.
- Fix buffer output bug to avoid displaying issues in some sites.
常见问题:
How can I get the AppId and Key?
You can register for Baidu developer at http://api.fanyi.baidu.com. After that you can find your AppID and Key in '管理控制台' panel. Or just leave it blank to use default AppID and Key.
Why does the plugin fail to translate my page sometimes?
Using the default AppID and Key means you share the same AppID and Key with all the other users of this plugin. The limitation of the number of words to be translated is 2,000,000 per month. So if too many users use this plugin, the interface to Baidu translating service will be unavailable. In this case, you can register for a new developer ID at http://api.fanyi.baidu.com for free and set to Settings->BaiDu Translator->AppID and Key.
更新日志:
1.10
- Fix css bug to fit more stuations.
- Fix buffer output bug to avoid displaying issues in some sites.
1.02
- Fix default language setting bug.
1.01
- Fix readme file issues.
- Add icon and banner to assets.
1.0