WordPress.org

Forums

NextGEN Gallery
Modify loading of text-domain so it works with WPML and other translation (2 posts)

  1. Darren Ethier (nerrad)
    Member
    Posted 4 years ago #

    Alex, can you modify line 60 in nggallery.php from:
    $this->load_textdomain();

    to
    add_action('plugins_loaded',array(&$this,'load_textdomain'));

    so that the translations for next gen will be picked up by the wpml plugin (and potential other plugins that do translations for WordPress).

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. Alex Rabe
    Member
    Posted 4 years ago #

    I will move it into start_plugin(), this should work then the same way

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.