NextGEN Plus and NextGEN Pro translations

Were in NextGEN Gallery?

NextGEN Path:

nextgen-gallery\products\photocrati_nextgen\modules\i18n\lang
  • POT file: nggallery.pot
  • PO files: We have three available files in this format that you can translate using PoEdit.
  • MO files: We have a variety of these files in lots of languages, but those are not editable.

NextGEN Pro Path:

nextgen-gallery-pro\modules\nextgen_pro_i18n\lang\

NextGEN Plus Path:

nextgen-gallery-plus\modules\nextgen_pro_i18n\lang

Can I use a translation plugin?

Sure, here are the suggested plugins:

How to edit or create a .po file

You should be using the "RAW" version of the .po file by either copying and pasting the contents or saving the link as a (.po) file. You can use PoEdit to edit and create new translations files.
In order for your Language file to work you need to "compile" your .po file into a .mo file.
You can also do this with PoEdit.

It is very important to use the correct naming convention no matter which folder you save your translation files (.mo and .po)  in. The naming convention follows these rules:

How to use my own .po and .mo files?

Most of the current translation .mo files can be found under:

But we strongly recommend using the WordPress default languages folder as the best location to use for saving your translations (upgrade safe):

Please note, if the language translation files are already included with NextGEN Gallery adding your own to the WordPress language folders will not take precedence over them.

My translation doesn't work

If you add your NextGEN Gallery translation files and they appear not to work you may still need to edit your WordPress wp-config.php file to ensure your installation is also using the same locale's language files.
To check if your WordPress configuration file does not have your language defined, just locate the following lines:

* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
*/
define('WPLANG', '');

You will find additional languages defined in this area. Now you can either modify the definition statement that exists or you can add a new line and comment out the default (English) definition line to add your own language. The following would be an example of how to ensure the Czech language files are used across the entire site:

/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
*/
// define('WPLANG', '');
define('WPLANG', 'cs_CZ');

How can I contribute?

You can collaborate directly on WordPress.org.
Please feel free to check our project:
https://translate.wordpress.org/projects/wp-plugins/nextgen-gallery/

Please help us to translate the plugin!
Being able to use NextGEN Gallery in your native language is very important. We would be very happy to have translations for the following languages:

  • Arabic
  • Malay/Indonesian
  • ... and your language!

If you would like to help us to translate NextGEN Gallery and NextGEN Gallery Pro into your language, please read here to gain an understanding of how to translate a WordPress plugin (if you are not already familiar with the process).

Once you are finished, please use our Contact Us form to share your .po and .mo NextGEN Gallery translations files. Please also include the following with your submission:

  • A name and/or website we can link to as a credit note (if you like).
  • Confirm that you agree to license the translation under GNU GPL.
Close Menu