wordpress更新版本后、代码编辑器

代码编辑器

变成了英文。

解决办法

到根目录下

图

查看里面内容

[root@localhost.localdomain /usr/local/nginx/html/solo/wp-content/languages]
# ls -lh plugins/
total 136K
-rwxr-xr-x 1 root root  20K Feb 21  2018 akismet-zh_CN.mo
-rwxr-xr-x 1 root root  29K Feb 21  2018 akismet-zh_CN.po
drwxr-xr-x 9 root root 4.0K Jul 28 20:02 crayon-syntax-highlighter
-rwxr-xr-x 1 root root  18K Aug 27 23:17 crayon-syntax-highlighter-zh_CN.mo
-rwxr-xr-x 1 root root  36K Aug 27 23:17 crayon-syntax-highlighter-zh_CN.po
-rwxr-xr-x 1 root root 7.4K Aug 16 16:56 wp-user-avatar-zh_CN.mo
-rwxr-xr-x 1 root root  14K Aug 16 16:56 wp-user-avatar-zh_CN.po

cd crayon-syntax-highlighter

[root@localhost.localdomain /usr/local/nginx/html/solo/wp-content/languages/plugins/crayon-syntax-highlighter]
# cp trans/crayon-syntax-highlighter-zh_CN.* ../
cp: overwrite ‘../crayon-syntax-highlighter-zh_CN.mo’? YES
cp: overwrite ‘../crayon-syntax-highlighter-zh_CN.po’? YES

OK改回中文了

Last modification:January 21, 2020
如果觉得我的文章对你有用,请随意赞赏