Crayon Syntax Highlighter插件显示英文教你翻译成中文

张 佃栋 wordpress 2018-04-14 1,153 次浏览 13条评论

安装了Crayon Syntax Highlighter之后发现无论是设置页面还是可视化编辑页面都是英文的,然后Crayon Syntax Highlighter的语言文件发现汉化文件存在,但是wp-content/languages/plugins/中的汉化文件却是不完整的。

解决方法如下:
1、找到Crayon Syntax Highlighter插件位置

wp–content/plugins/crayon–syntax–highlighter/

找到语言文件目录:trans

找到中文文件:

crayon-syntax-highlighter-zh_CN.mo

crayon-syntax-highlighter-zh_CN.po

2、进入插件语言文件夹

wp–content/languages/plugins/

3、将刚才下载的

crayon-syntax-highlighter-zh_CN.mo

crayon-syntax-highlighter-zh_CN.po

上传覆盖 然后刷新即可看到中文版的Crayon Syntax Highlighter

但是还有些问题,貌似过一段时间之后页面又会恢复到英文界面,文件夹里的插件语言还在,看来替换一下只是暂时生效,希望有更好的解决办法。

本文出自张佃栋de博客,转载时请注明出处及相应链接。

本文永久链接: https://zhangdd.com/197.html

13条评论

  1. I was suggested this website through my cousin. I’m no
    longer certain whether or not this post is written via him as nobody else recognize such specified
    approximately my difficulty. You are wonderful!
    Thanks!

    • 张 佃栋说道:

      Tks for your message.
      i am sorry if this post make you puzzled.
      i just read it from network,and found it was useful.
      The content and view of the article do not represent the position of this website.
      The purpose is to provide the most authentic first-hand information for your thinking and research.
      If there is any infringement, please tell us that we will deal with it in time.

  2. whoah this blog is magnificent i really like studying your articles.
    Stay up the great work! You realize, many individuals are
    searching around for this information, you can aid them greatly. http://exchange-metal.com/user/profile/425782

  3. minecraft说道:

    Excellent beat ! I would like to apprentice while you amend your site, how
    can i subscribe for a blog site? The account helped me a acceptable deal.
    I had been tiny bit acquainted of this your broadcast provided
    bright clear idea

  4. minecraft说道:

    Its like you read my mind! You seem to know so much about this, like
    you wrote the book in it or something. I think that
    you can do with some pics to drive the message home a little bit, but other than that, this is
    fantastic blog. An excellent read. I’ll certainly be back.

  5. minecraft说道:

    This article will help the internet people for setting up new weblog or even a blog from start to end.

  6. minecraft说道:

    At this moment I am ready to do my breakfast,
    once having my breakfast coming yet again to read more news.

  7. minecraft说道:

    We absolutely love your blog and find most of your post’s
    to be precisely what I’m looking for. Does one offer
    guest writers to write content to suit your needs? I
    wouldn’t mind writing a post or elaborating on most of the subjects you write
    related to here. Again, awesome blog!

  8. minecraft说道:

    This info is priceless. When can I find out more?

  9. minecraft说道:

    Good day! I could have sworn I’ve been to this website before but after going through
    a few of the posts I realized it’s new to me. Nonetheless,
    I’m definitely delighted I came across it and I’ll be book-marking it
    and checking back frequently!

  10. minecraft说道:

    Hi, I do believe this is a great blog. I stumbledupon it 😉 I may revisit
    once again since i have book marked it. Money and freedom is the
    greatest way to change, may you be rich and continue to guide other people.

  11. minecraft说道:

    I like what you guys are usually up too. Such clever
    work and exposure! Keep up the wonderful works guys I’ve incorporated you
    guys to my blogroll.

  12. minecraft说道:

    I am not sure where you’re getting your info, but great topic.

    I needs to spend some time learning more or understanding more.
    Thanks for excellent info I was looking for this information for
    my mission.

发表评论

电子邮件地址不会被公开。 必填项已用*标注

Protected with IP Blacklist CloudIP Blacklist Cloud
回顶部