Support » Plugin: WP jQuery Lightbox » translation of client side text

  • Resolved Majklas

    (@majklas)


    Again, thank You for a great plugin, but where can I find translations of image x of y apart from this:

    /* translation */
    		'help' => __(get_option('jqlb_help_text'), 'jqlb'),
    		'prevLinkTitle' => __('previous image', 'jqlb'),
    		'nextLinkTitle' => __('next image', 'jqlb'),
    		'closeTitle' => __('close image gallery', 'jqlb'),
    		'image' => __('Image ', 'jqlb'),
    		'of' => __(' of ', 'jqlb'),
    		'download' => __('Download', 'jqlb'),
    		'pause' => __('(pause slideshow)', 'jqlb'),
    		'play' => __('(play slideshow)', 'jqlb')

    Yes, I’m running on WPML and it should get locale automatically, but where can I translate those strings not using WPML string translator?

    http://wordpress.org/extend/plugins/wp-jquery-lightbox/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    the translations can be found in the folder “translations”:

    – there was a type mismatch in the German translation and I found the setting in the file “jqlb-de_DE.po”. But when I copy this file back to the server there is no change visible.

    And I have an additional question:

    – I can’t add any translations as they refer to a php-file in a specific line. I would like to add “play slideshow” & “pause slideshow”. How can I do this?

    Thanks for your help,
    SHC

    Hi,

    I figured out how to edit the .po and .mo files, it is a little bit complicated.
    I have updated the german translation files according to the newest version 1.4.1. You can find them in the .zip file attached below.

    wp-jquery-lightbox-language-de_1.4.1.zip

    Just replace the files in wp-content/plugins/wp-jquery-lightbox/languages/ and it will work fine.

    Hope that will help.

    Hi Niko,

    thanks a lot – that works very well!!!

    SHC

    Thread Starter Majklas

    (@majklas)

    my locale was wrong, so I can mark this topic as resolved..

    Thread Starter Majklas

    (@majklas)

    shcshc,
    I forgot to answer you 🙂
    You must open a *.po file in POEdit and then go to Catalogue -> Properties. Then under Sources Paths delete every line with a red cross button.
    Add a new path with ../ So it will look for php files in directories one level up from your *.po file location.
    Then hit Update button and watch Poedit to find new translations and add them. Now You need only to translate them 🙂
    save, reupload and refresh Your site 🙂

    Thread Starter Majklas

    (@majklas)

    majklas.nereal.us/languages-lt_LT.rar
    update Lithuanian translations, thank You Ulf!

    Got it, thanks!

    ulfben, if you want, here’s the translation files for pt_BR:
    wp-jquery-lightbox-pt_BR.zip

    Thanks a bunch!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘translation of client side text’ is closed to new replies.