Skip Navigation
September 20, 2023

NextGEN Gallery is one of the most popular gallery plugins for WordPress. WPML makes it possible to translate text generated by the plugin.

Page with a gallery in the default language Page with a gallery in the secondary language

On This Page:

Getting Started

Start by installing and activating the following plugins:

If you’re new to WPML, check out our Getting Started Guide. It quickly walks you through all the translation options you can use.

  1. Create a page in your default language and add a NextGEN Gallery block to your page.
  2. Click on the plus icon in the Language section to translate the content of the page.
    Clicking the plus icon to translate the page
  3. After translating, the page content will display in the secondary language, but the gallery text will still be in English. Next, you will need to translate the descriptions, captions, and other gallery strings.

    Translated page with untranslated gallery

    Before you can translate your gallery text, you need to make your gallery translatable. To do this:

    1. Go to WPMLTheme and plugins localization
    2. Scroll down to the Strings in the plugins section and select NextGEN Gallery
    3. Click the Scan selected plugins for strings button

    Scanning NextGEN Gallery for strings

    You can now go to WPMLString Translation and search for the gallery text you want to translate.

    Click on the plus icon to translate.

    Translating gallery text using String Translation

    You can also display the entire list of strings to translate by selecting the plugin_ngg domain.

    Displaying all strings in the plugin_ngg domain

    Getting Help From Our Support

    If you need help translating your site built using NextGEN Gallery and WPML, visit WPML’s support forum.