Title: [Plugin: Polylang] NextGen Gallery Plugin
Last modified: August 20, 2016

---

# [Plugin: Polylang] NextGen Gallery Plugin

 *  [Simon](https://wordpress.org/support/users/simonwe/)
 * (@simonwe)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-polylang-nextgen-gallery-plugin/)
 * Hi,
    Does Polylang support NextGen gallery? or How can NextGen gallery be supported
   by PolyLang? Thanks, Simon
 * [http://wordpress.org/extend/plugins/polylang/](http://wordpress.org/extend/plugins/polylang/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-polylang-nextgen-gallery-plugin/#post-2766521)
 * Currently no specific work has been done with Polylang to support NextGen gallery.
   It does not even support the translation of media (titles, desciptions) as included
   in WordPress. Support of media is planned for Polylang 0.9 (to be released at
   the end of the summer). I don’t know if it will help for NextGen.
 *  Thread Starter [Simon](https://wordpress.org/support/users/simonwe/)
 * (@simonwe)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-polylang-nextgen-gallery-plugin/#post-2766534)
 * Thanks for your reply Chouby!
 *  [mojo74](https://wordpress.org/support/users/mojo74/)
 * (@mojo74)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-nextgen-gallery-plugin/#post-2766582)
 * Chouby, any news for the NextGen support ?
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-nextgen-gallery-plugin/#post-2766583)
 * I just looked at Nextgen gallery code. It seems that this plugin already includes
   some multilingual support (WPML, qTranslate…). It also seems that it should be
   not difficult to add Polylang in the list.
 * I would test that in a personnal plugin:
 *     ```
       if (function_exists('pll_register_string')) {
       	add_filter('localization', 'pll__');
       	add_action('ngg_image_updated', 'ngg_pll_register_string');
       	function ngg_pll_register_string($image) {
       		pll_register_string('pic_' . $image->pid . '_description', $image->description);
       		pll_register_string('pic_' . $image->pid . '_alttext', $image->alttext);
       	}
       }
       ```
   
 * Strings are then translated in ‘settings->languages->strings translations’
 *  [nicotentin](https://wordpress.org/support/users/nicotentin/)
 * (@nicotentin)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-polylang-nextgen-gallery-plugin/#post-2766586)
 * I have tried to create a plugin with your code. I am not sure what it should 
   do but anyway, I could notice no difference.
    Do you have any tip to use polylang
   to translate nextgen names, descriptions, tags… ? I use the last versions of 
   WordPress and plugins.
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-polylang-nextgen-gallery-plugin/#post-2766587)
 * You should have descriptions and alternative texts in settings->languages->strings
   translations. I believe it is not very convenient but it seems that it is how
   wpml and nextgen are currently working together. [http://wpml.org/2011/03/multilingual-nextgen-gallery/](http://wpml.org/2011/03/multilingual-nextgen-gallery/)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Polylang] NextGen Gallery Plugin’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-polylang-nextgen-gallery-plugin/#post-2766587)
 * Status: not resolved