Wordpress中分别设置网站语言和管理画面语言插件

来源:互联网 发布:京东最开始的域名 编辑:程序博客网 时间:2024/05/06 02:20

在实际的开发中,可能管理画面只需要英文就可以了。全部翻译啥的比较费时间,也不一定有英文那么准确。

在这种情况下,比如前台网站用中文,后台管理画面用英文。

实现这个功能其实很简单,已经有这个插件了。

Admin Language插件:http://wordpress.org/extend/plugins/admin-language/

This plugin allows to have admin panel in different language (for example, admin's native language) from blog's home language. This is useful when you have blog in e.g. german but you want to have admin panel in english.

This plugin works simply. It adds a "Language" form element in user profile.

It works in Dashboard as well as on the blog's homepage.

安装:

  1. Upload 'admin-language' folder to the '/wp-content/plugins/' directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to 'Your Profile' page and set your default language

需要下载wordpress的前台语言的语言包才可以。POMO文件用poedit工具就可以编辑修改的。


原创粉丝点击