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

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. <li id="gallery_tab" class="current"><span><a onmousedown="return false;" href="javascript:mcTabs.displayTab('gallery_tab','gallery_panel');"></a></span></li>
  2.     <li id="album_tab"><span><a onmousedown="return false;" href="javascript:mcTabs.displayTab('album_tab','album_panel');"></a></span></li>

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

31 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:)

Leave a Reply