No public Twitter messages.

Simplified Chinese Language Pack for NextGEN Gallery

April 13th, 2009 by Tkjune

NextGEN Gallery in Chinese

NextGEN Gallery is a very powerful plugin for WordPress that can manage the photo easily. It has many features and provides multiple language support. I've just made the Simplified Chinese language pack for the current version. Download: Simplified Chinese Language Pack for NextGEN Gallery 1.21 1.33 1.43 1.52 1.55

(Following bug has been fixed after 1.21)

There is a bug in this version when using other languages which will result in a notice's translation can not be shown. It a very small issue but if you are completist you can fix it in this way: Open this file [NextGEN plugin folder]/lib/core.php and find out line 419.  Replace it with following code:

  1. $result = sprintf(  __( 'Note : Based on your server memory limit you should not upload larger images then <strong>%d x %d</strong> pixel', 'nggallery' ), $size['width'], $size['height']);

This notice appears in [Add Gallery / Images] -> [Upload a Zip-file] and similar pages. Well, in fact, there are two more bugs if you really want to fix... Open this file [NextGEN plugin folder]/admin/tinymce/window.php and find out line 29-30.  Replace them with following code:

  1. </strike></p>
  2. <p>&nbsp;</p>
  3. <p><strike>

Checkout what I did (very simple) with this wonderful plugin and know more about how to use it.

52 Responses to “Simplified Chinese Language Pack for NextGEN Gallery”

  1. bandit Says:

    Thank you very much!

  2. Tkjune Says:

    :) Welcome.

  3. 水水水 Says:

    生生世世水水水是

  4. charlotte Says:

    Hi Joe! You're super!

  5. xiaozhu Says:

    [image]http://cwhclub.net/blog/wp-content/uploads/2009/04/0007174681.jpg[/image]

  6. Tkjune Says:

    Hi Charlotte, thank you:)

  7. charlotte Says:

    請問小奇先生, 你留給我的msg究竟是哪國方言?
    我懷疑是在鍵盤上亂打一通的.......
    haha

  8. Tkjune Says:

    I saw some msg I don't know, then I left some I don't know either~:)

  9. charlotte Says:

    haha...ok, i know you quite well!

  10. beiku Says:

    谢了

  11. Tkjune Says:

    @beiku You are welcome:)

  12. Piet Says:

    Hi TK I just uploaded your Chinese version of NextGen to the lang subdir of NextGen version 1.2.1, but when viewing a gallery the text "Image 1 of 26" does not change into Chinese...
    What you changed on the backend I cannot see, because I am using the plugin Admin In English... Can you please let me know whether the front end texts are changed too, or do I have to do that myself?

  13. Tkjune Says:

    @Piet, if you are using English interface in admin (set in wp-config.php), the gallery will work in English. Here's a trick: try to switch the name of language file in NextGen language folder. In this case, you'll see Chinese in NextGen only (both front end and back end). Otherwise, you may need to modify the language file itself with tools like poedit.

  14. bigpig Says:

    Thank you .......

  15. Louis Vuitton Handbags and Wallets Says:

    Keep working, great job, I love it!

  16. yi Says:

    many thanks

  17. Soyu Says:

    没得说,Good 一个!

  18. Tkjune Says:

    Thank you:)

  19. kingsin Says:

    how to install it? cp ?it don't work!

  20. Tkjune Says:

    @kingsin

    put the .mo/.po file in LANG folder in nextgen plugin folder.
    open /wp-config.php , add line: define ('WPLANG', 'zh_CN');

    Then whole admin panel's language changes to Chinese, including nextgen plugin

  21. kaluxi Says:

    棒非常棒!

  22. Tkjune Says:

    @kaluxi Thanks:)

  23. seo Says:

    不会弄啊 ·

  24. er Says:

    xie xie !

  25. 忆往事 Says:

    该出新语言包了

  26. fx Says:

    Chinese transformation was perfect, thanks to make such a good plug-in!

  27. Tkjune Says:

    @忆往事 Yep. these days kind of busy. Will update later~

  28. apollools Says:

    非常棒!谢谢~~It's really coooool!! Thx!~~:p

  29. Tkjune Says:

    @apollools Just updated to the latest version 1.43. You may try it.

  30. nio Says:

    谢谢啊!

  31. Tkjune Says:

    @nio Glad to be of help:)

  32. ajian Says:

    我想说当前1.43 版本的 NextGEN Gallery 的这个文件[NextGEN plugin folder]/lib/core.php 当前只有410行了。所以你说的那个第一个BUG我就不知道到哪里去修改了,是否新版本已经自动修正上述错误了不得而知。

    另外我把这个语言包上传到服务器上的该插件目录上,后台无法显示中文界面,那么请问汉化包的上传位置和步骤,有哪些具体的讲究,麻烦指点。多谢多谢!

  33. Tkjune Says:

    @ajian 我说的Bug在1.21之后作者已经修正了, 所以不用改了. 语言包需要解压, 把nggallery-zh_CN.mo放到插件目录下的lang目录下. 语言包是和整个WP的语言设置相同的, 即在根目录下的wp-config.php里应该有这一行define ('WPLANG', 'zh_CN');

  34. long Says:

    thanks,use it now

  35. Phoenix Says:

    太感謝了,哈哈

  36. Tkjune Says:

    @long, @Phoenix Glad to be of help. Updated to 1.52

  37. long Says:

    thanks for your share.Updated

  38. walkingp Says:

    你好,请问我这个错误是怎么回事?

    Fatal error: Call to a member function find_all_galleries() on a non-object in D:\www\web\51obj.cn_09RldoYa9QMDtEU1ikdg\wwwroot\wp-content\plugins\nextgen-gallery\admin\manage-galleries.php on line 15

  39. monstershou Says:

    how to download the plug,i can not find

  40. Tkjune Says:

    @monstershou This is the language pack. For downloading the plug-in, pls visit http://wordpress.org/extend/plugins/nextgen-gallery/

  41. power Says:

    非常感谢

  42. i981 Says:

    非常感谢,已经下载了,马上测试

  43. порно ролики бесплатно Says:

    ещё хочу)

  44. helong Says:

    3Q ! O(∩_∩)O 谢谢 !

  45. 小水滴儿 Says:

    感谢

  46. Tkjune Says:

    @小水滴儿,@helong,@i981 Glad to be of help:)

  47. Jas Says:

    Thanks 多谢~~

  48. Tkjune Says:

    @Jas Welcome~

  49. yejia Says:

    不错,好东西

  50. can.tk Says:

    YE!good,verygood!

  51. aaaa Says:

    a

  52. 濟川 Says:

    中文,安逸!

Leave a Reply