• Resolved aranex

    (@aranex)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter aranex

    (@aranex)

    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";

    Thanks for letting me know. I’ll fix in the next update.

    Fixed in 1.4.8. Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Localization doesn't work’ is closed to new replies.