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、PHP 8.0:PostgreSQL:不推荐使用几个别名函数
https://www.onexin.net/php-8-postgresql/

2、PHP设计模式(十)—组合模式(Composite Pattern)
https://www.onexin.net/php-composite-pattern/

3、[个人潜能4A]价值与信仰/成功或失败的来源
https://www.onexin.net/personal-potentials-4a-values-and-faith-the-source-of-the-success-or-failure-of/

4、微信小程序转uniapp,百度小程序注意事项
https://www.onexin.net/weixin-uniapp-baidu/

5、《愤怒的小鸟》情人节版 Angry Birds Seasons
https://www.onexin.net/angry-little-bird-valentines-day-edition-angry-birds-seasons/

Leave a Reply