Title: Localization doesn&#039;t work
Last modified: August 30, 2016

---

# Localization doesn't work

 *  Resolved [aranex](https://wordpress.org/support/users/aranex/)
 * (@aranex)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/localization-doesnt-work-1/)
 * I use WordPress 4.3.1 with wp-jquery-lightbox 1.4.7.
 * Localization doesn’t work neither in the frontend nor in the backend, i tried
   the german and the spanish localization, both times it stayed in english…
 * i work in a vagrant enviroment, so i could disable most of my plugins, but that
   made no difference…
 * what can i do?
 * hauke
 * [https://wordpress.org/plugins/wp-jquery-lightbox/](https://wordpress.org/plugins/wp-jquery-lightbox/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [aranex](https://wordpress.org/support/users/aranex/)
 * (@aranex)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/localization-doesnt-work-1/#post-6739413)
 * The problem was that the wrong language-domain is loaded. It says in
    wp-jquery-
   lightbox.php
 *     ```
       load_plugin_textdomain('wp-jquery-lightbox', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/');
       ```
   
 * But the language-Files are named like
 * _jqlb-de\_DE.mo_
 * so i renamed the file to
 * _wp-jquery-lightbox-de\_DE.mo_
 * and it worked.
 * For the CSS-Localization i had to change altough in wp-jquery-lightbox.php
 *     ```
       $fileName = "lightbox.min.{$locale}.css";
       fileName = "lightbox.min.css";
       ```
   
 * to
 *     ```
       $fileName = "lightbox.min.{$locale}.css";
       // $fileName = "lightbox.min.css";
       ```
   
 *  [ulfben](https://wordpress.org/support/users/ulfben/)
 * (@ulfben)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/localization-doesnt-work-1/#post-6739491)
 * Thanks for letting me know. I’ll fix in the next update.
 *  [ulfben](https://wordpress.org/support/users/ulfben/)
 * (@ulfben)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/localization-doesnt-work-1/#post-6739567)
 * [Fixed in 1.4.8](https://wordpress.org/plugins/wp-jquery-lightbox/changelog/).
   Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Localization doesn't work’ is closed to new replies.

 * ![](https://ps.w.org/wp-jquery-lightbox/assets/icon-256x256.png?rev=3274178)
 * [LightPress Lightbox](https://wordpress.org/plugins/wp-jquery-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-jquery-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-jquery-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-jquery-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-jquery-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-jquery-lightbox/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [ulfben](https://wordpress.org/support/users/ulfben/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/localization-doesnt-work-1/#post-6739567)
 * Status: resolved