Keyword

Simple Image Gallery toolbar translation

  • Ondrej Fila
  • Ondrej Fila's Avatar Topic Author
  • Offline
  • New Member
More
5 years 10 months ago #172557 by Ondrej Fila
Simple Image Gallery toolbar translation was created by Ondrej Fila
Hello,
I would like to ask you for your support. I use Simple Image Gallery on my website. Can anybody to help me how can I change ten laguage in the toolbar buttons like close, start slideshow, next, previous atc. I want to have the labels in czech not in english. In the attachment you can see the buttons, which I need translate.

Thank you for your help.

Ondrej
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #172601 by JoomlaWorks
Replied by JoomlaWorks on topic Simple Image Gallery toolbar translation
Edit this file: github.com/joomlaworks/simple-image-gallery/blob/master/plugin/jw_sig/includes/js/jquery_fancybox/popup.php#L29

Right before line 29 add the following:
$.fancybox.defaults.i18n.cz = {
    CLOSE: "Close",
    NEXT: "Next",
    PREV: "Previous",
    ERROR: "The requested content cannot be loaded.<br/>Please try again later.",
    PLAY_START: "Start slideshow",
    PLAY_STOP: "Pause slideshow",
    FULL_SCREEN: "Full screen",
    THUMBS: "Thumbnails",
    DOWNLOAD: "Download",
    SHARE: "Share",
    ZOOM: "Zoom"
};

$.fancybox.defaults.lang = 'cz';

Make sure you rename the English strings to your language and you should be ready.

I'll make sure to integrate language support by the next update.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum