wp中文固定链接slug自动翻译成英文或汉语拼音

Plugin Name: wp slug translate
Version: 1.5
Description: set slug by translate title or slug from chinese to english with google translate or pinyin. 通过将title用google translate 翻译成英语或者拼音.

2008-04-02
1. 重新修改wp-slug, 适合wp2.5的后台直接显示, 同时修改翻译流程.

2008-01-13
1. 修正google translate更改导致翻译失效, 采用正则表达式匹配.
2. 增加自定义的iconv函数, 防止因虚拟主机没有配置iconv导致出错.
3. 重新改写获取google translate部分, 采用snoopy, 去掉原先自定义的http_get

转载请注明出处:https://www.onexin.net/wp-chinese-permalink-slug-automatically-translated-into-english-or-pinyin/

随机文章:

1、继Magento中文简繁体版之后开发Cantonese粤语版
https://www.onexin.net/following-the-simplified-and-traditional-chinese-version-of-magento-developed-after-cantonese-cantonese-version/

2、preg_replace与str_replace函数的比较
https://www.onexin.net/preg_replace_str_replace/

3、Java开源缓存框架介绍
https://www.onexin.net/java-open-source-caching-frameworks-introduced/

4、js中SetInterval与setTimeout用法
https://www.onexin.net/js-in-setinterval-and-use-settimeout/

5、Magento 1.5.1.0 中文简繁体语言包完整
https://www.onexin.net/magento-1-5-1-0-simplified-and-traditional-chinese-language-pack-to-complete/

Leave a Reply