NextGEN Gallery is one of the most popular gallery plugins for WordPress. It provides many useful gallery management features. Its integration with WPML enables easy translation of textual content generated by the plugin.

Page in original content Page translated to French
 Using WPML to translate NextGEN Gallery Using WPML to translate NextGEN Gallery

Contents

Getting started and what to check

Make sure that the NextGEN gallery plugin is activated, by going to the Plugins page.

Make sure that the WPML Multilingual CMS, WPML String Translation, WPML Translation Management, and WPML Media Translation plugins are activated. Follow the steps in the WPML beginner’s guide to verify that your setup is correct.

  1. Go to the WPML -> Media Translation page and mark all the available options as checked. Then, click on Start, and lastly, on Apply.
  2. Using WPML to translate nextGEN Gallery

    Media Settings

  3. Create a page in your original language and click on the NextGEN Gallery button to add a Gallery. In our case, the original language is English.
  4. Using WPML to translate NextGEN Gallery

    Adding a Gallery to the page

  5. Once your Gallery is created, make sure to display it on the page and to publish it.
  6. using WPML to translate NextGEN Gallery

    Displaying the Gallery

  7. A Language box appears with a plus (“+”) and a Duplicate button.
    Click on the Duplicate button.
  8. using WPML to translate NextGEN Gallery

    Clicking on the duplicate button

  9. Click on the pencil icon to access the French version of the page:
  10. using WPML to translate NextGEN Gallery

    Clicking on the pencil

  11. Select Translate independently and Update the page.
  12. using WPML to translate NextGEN Gallery

    Clicking on translating independently

  13. Translate the title of the page in French.
  14. Translating the title of my page

    WPML Translation Editor screen

  15. Your Gallery is now displayed on the French version of your page:
  16. NextGEN Gallery wpml

    Gallery displayed on the French page, but the translation of the Gallery elements is still missing.

    However, the Gallery is still in English; it still needs to be translated. This will include translating the description, caption, and the rest of the strings.

    First, you need to make sure that you have activated the two translation options below.

    Option 1

    Go to the WPML -> Theme and plugins localization page and then activate the option Translate themes and plugins using WPML’s String Translation and always load .mo files as backup. Click Save.

    Selecting option 1

    Option 2

    Stay on the same Admin page and scroll down to the Strings in the plugin section. Select NextGEN Gallery and click on the Scan selected plugins for strings button.

    Selecting option 2

    Your gallery is now ready to be translated.

    As an example, we will translate the Caption of the image, but the steps are applicable for all Gallery elements:

    WPML and NextGEN Gallery

    Elements to be translated using String Translation

    1. Go to the WPML-> String translation page and then search for the string that needs translation. In this case, we are looking for the caption “On this picture, you can see the mountains.”
    2. WPML NextGEN Gallery

      Searching for the caption of my picture

    3. Click on the blue translations link:
    4. WPML NextGEN Gallery

      The blue translations link

    5. Write down the translation. Mark Translation is complete and Save.
    6. WPML NextGEN Gallery

      Marking translation as complete

    7. You can also display the entire list of strings to translate by selecting the “plugin_ngg” domain as shown below:

    8. WPML NextGEN Gallery

      Selecting the right domain

      Getting help from our support

      We have supporters in our forum who are ready six days a week to help you. They are trained in how to use WPML with NextGEN Gallery. If you are working with a developer for your site, please use our Translation support forum to get help with translating your site’s content.

      If you are setting up the site and WPML yourself, please use our Technical support forum.