Title: NextGEN Gallery lang problem
Last modified: August 19, 2016

---

# NextGEN Gallery lang problem

 *  Resolved [Micemade](https://wordpress.org/support/users/anydog/)
 * (@anydog)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/nextgen-gallery-lang-problem/)
 * Hi ! Hope someone can help !
    I translated .po (and .mo) file in /lang folder
   of NextGEN plugin folder and it works locally, but it won’t work on hosting company
   server. I checked code with load_textdomain funcion and it should work – `load_plugin_textdomain('
   nggallery', false, dirname( plugin_basename(__FILE__) ) . '/lang');` , but it
   doesn’t.
 * Anyone ? Help ? :/
    Thanks, Alen

Viewing 1 replies (of 1 total)

 *  Thread Starter [Micemade](https://wordpress.org/support/users/anydog/)
 * (@anydog)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/nextgen-gallery-lang-problem/#post-1015179)
 * oh, got it … for anyone as stupid as I am. You must have following suffix of .
   mo (and .po) file >> **hr_HR.mo** (or **de_DE** for german. etc….). So for example,
   in lang folder of NextGEN gallery there should be (for croatian and german) these
   files: nggallery-hr_HR.mo and nggallery-de_DE.mo
    Oh, yes, also, the wp-config.
   php file must have these languages set:
 *     ```
       define ('WPLANG', 'hr_HR');
       define ('WPLANG', 'de_DE');
       ```
   
 * I had hr.mo instead hr_HR.mo on my local machine (WinXP/XAMPPP). The server is
   Linux so therefore it requires hr_HR (de_DE, en_EN etc…)
 * Happy coding and WP-ing !
    Bye

Viewing 1 replies (of 1 total)

The topic ‘NextGEN Gallery lang problem’ is closed to new replies.

## Tags

 * [nggallery](https://wordpress.org/support/topic-tag/nggallery/)

 * 1 reply
 * 1 participant
 * Last reply from: [Micemade](https://wordpress.org/support/users/anydog/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/nextgen-gallery-lang-problem/#post-1015179)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
