Milos Spasic
Forum Replies Created
-
Forum: Plugins
In reply to: [LightPress Lightbox] How to translate WP jQuery Lightbox?I have found the solution.
Open the
wp-jquery-lightbox.phpand find the following code:function jqlb_js() { if(is_admin() || is_feed()){return;} wp_enqueue_script('jquery', '', array(), false, true); wp_enqueue_script('wp-jquery-lightbox', JQLB_SCRIPT_URL, Array('jquery'), '1.3.3', true); wp_localize_script('wp-jquery-lightbox', 'JQLBSettings', array( 'fitToScreen' => get_option('jqlb_resize_on_demand'), 'resizeSpeed' => get_option('jqlb_resize_speed'), 'displayDownloadLink' => get_option('jqlb_show_download'), 'navbarOnTop' => get_option('jqlb_navbarOnTop'), 'loopImages' => get_option('jqlb_loopImages'), 'resizeCenter' => get_option('jqlb_resizeCenter'), 'marginSize' => get_option('jqlb_margin_size'), 'linkTarget' => get_option('jqlb_link_target'), //'followScroll' => get_option('jqlb_follow_scroll'), /* translation */ 'help' => __(get_option('jqlb_help_text'), 'jqlb'), 'prevLinkTitle' => __('previous image', 'jqlb'), 'nextLinkTitle' => __('next image', 'jqlb'), 'prevLinkText' => __('« Previous', 'jqlb'), 'nextLinkText' => __('Next »', 'jqlb'), 'closeTitle' => __('close image gallery', 'jqlb'), 'image' => __('Image ', 'jqlb'), 'of' => __(' of ', 'jqlb'), 'download' => __('Download', 'jqlb') )); }Replace the:
'previous image' 'next image' '« Previous' 'Next »' 'close image gallery' 'Image ' ' of ' 'Download'with words on your language, save the file and upload it back to the host.
Edit image
wp-jquery-lightbox/styles/images/closelabel.gifand change the text with the word on your language, save it and upload to the server.You are done, user part of the plugin is translated now.
Solution form link above works like a charm, thanks! 😉
I didn’t say that that was the main issue, that was happened on my blog, and I wrote it down in hope that it will help someone.
Try to disable all other plugins, except XML Sitemap Generator. Maybe it has conflict with some other plugin on your blog. If it starts working normally when you disable plugins, enable them one by one. When it stops working, you will find te plugin that is causing problems.
Today when I published post on my blog, XML Sitemap Generator warning message was disappeared, and the post was automatically added to Sitemap. Plugin is working normally now.
The only thing I have changed in the meantime on my blog, is updating All in One SEO plugin to newest version 1.4.7.3 . It seams that there was a some kind of conflict between these two plugins, but that issue is fixed in this newest version of All in One SEO.
I have upgraded WordPress 2 days ago to 2.7.1 and XML Sitemap Generator to 3.1.2. Before I made that upgrade, everything worked just fine, and now XML Sitemap Generator is displaying this message: “Your sitemap is being refreshed at the moment. Depending on your blog size this might take some time!”
When i write a new post, site map isn’t updating automatically, I must rebuild site map manually to include new posts. After manual rebuild new post are included in sitemap, but there still stands the message “Your sitemap is being refreshed…”.
I have tried all above recommended fixes, and nothing helps.
Does anybody knows solution for this serious issue?