Keyword

Language in Simple Image Gallery

  • alex_34
  • alex_34's Avatar Topic Author
  • Offline
  • New Member
More
17 years 1 month ago #1074 by alex_34
Language in Simple Image Gallery was created by alex_34
Hello,

I'm using SIG for a new website I'm building. Is there any way of changing that "Prev, Next, Close" to another language?

So fat it works great!

Thanks!
;)

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

More
17 years 1 month ago #1075 by Sebastian Jopen
Replied by Sebastian Jopen on topic Re: Language in Simple Image Gallery
Change the files "closelabel.gif" "prevlabel.gif" and "nextlabel.gif" inside the folder /mambots/content/plugin_jw_sig.

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

More
17 years 1 month ago #1076 by epareja
Replied by epareja on topic Re: Language in Simple Image Gallery
You have to edit your images nextlabel.gif, prevlabel.gif ad closelabel.gif in you own language cause it is not text but images.

** Tip:  You also need to change some words in your slimbox.js file to display the box completely in your language:

nextEffect: function() {
switch(this.step++) {
case 1:
this.center.className = '';
this.image.setStyles({backgroundImage: 'url('+this.images[this.activeImage][0]+')', width: this.preload.width+'px'});
this.image.style.height = this.prevLink.style.height = this.nextLink.style.height = this.preload.height+'px';

this.caption.setHTML(this.images[this.activeImage][1] || '');
this.number.setHTML((this.images.length == 1) ? '' : '[glow=red,2,300]Image[/glow] '+(this.activeImage+1)+' [glow=red,2,300]of[/glow] '+this.images.length);

if(this.activeImage != 0) this.preloadPrev.src = this.images[this.activeImage - 1][0];
if(this.activeImage != (this.images.length - 1)) this.preloadNext.src = this.images[this.activeImage + 1][0];
if(this.center.clientHeight != this.image.offsetHeight) {
this.fx.resize.custom({height: [this.center.clientHeight, this.image.offsetHeight]});
break;
}

I hope this info solves your question.

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


Powered by Kunena Forum