Thread Locked This thread is locked - replies are not allowed.


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 7 - Pages: 1 - Last Post: 16 Dec 24, 22:31 Last Post By: MrGerard
MrGerard

Posts: 14
Registered: 15-Aug-2010
How to change widget bar language to your own.
Posted: 15 Dec 24, 12:06
 
Attachment Screens.jpg (35.8 KB)
Hello
Is it possible to change it to your language in this photo and where?
I've been looking for various solutions, but I don't think it's in these themes, nor do I see it in jAlbum.

Edited by: MrGerard on 15 Dec 2024, 12:08

Edited by: JeffTucker on 15 Dec 2024, 08:40, to change thread title
RobM

Posts: 3,955
Registered: 4-Aug-2006
Re: How to change the language to your own.
Posted: 15 Dec 24, 13:27   in response to: MrGerard in response to: MrGerard
 
Change the language to what you want under Preferences>General>Language

If those texts don’t change it means they are hard coded in Tiger, if that is the case report back and ask for an update.
JeffTucker

Posts: 8,222
Registered: 31-Jan-2006
Re: How to change the language to your own.
Posted: 15 Dec 24, 14:40   in response to: MrGerard in response to: MrGerard
 
That's the widget bar. I believe the language is set based on the default language on the visitor's PC, but I have no way to test that - it always knows that my devices are using English.

Perhaps Anders can address this.

(Moving this thread - the skin doesn't produce the widget bar.)
MrGerard

Posts: 14
Registered: 15-Aug-2010
Re: How to change the language to your own.
Posted: 15 Dec 24, 18:33   in response to: JeffTucker in response to: JeffTucker
 
In the jAlbum program I have it set to Polish, in the Tiger theme it is not possible to set the language, but on the PC I also have it set to Polish. Perhaps they are encoded in the program or this widget is served by an external server, i.e. there is a script on it, e.g. Java, and therefore I don't see any possibility of changing it.
JeffTucker

Posts: 8,222
Registered: 31-Jan-2006
Re: How to change the language to your own.
Posted: 15 Dec 24, 18:47   in response to: MrGerard in response to: MrGerard
 
It's a Javascript routine, and it is on the jAlbum server, so I don't think there's any way for a user to change it.

Let's see what Anders has to say about it.
JeffTucker

Posts: 8,222
Registered: 31-Jan-2006
Re: How to change the language to your own.
Posted: 15 Dec 24, 18:49   in response to: MrGerard in response to: MrGerard
 
Attachment ss012565.jpg (60.6 KB)
Actually, Tiger does let you set the language of the album, different from the language you're using in jAlbum. Screenshot. But that has no effect on the widget bar. The skin doesn't produce the widget bar.
RobM

Posts: 3,955
Registered: 4-Aug-2006
Re: How to change the language to your own.
Posted: 15 Dec 24, 20:07   in response to: JeffTucker in response to: JeffTucker
 
The widget code takes the language from preferences as a variable, but regardless of its value the widget uses English. Widget code, tested using German.
_jaLanguage = "de";


Actual code from server
			_jaWidgetBarColor = 'black';
			$(document).ready(function(){
				REL_PATH='';PAGE_NAME='index.html';
				$.ajaxSetup({cache:true,contentType:false});
				$('body').removeClass('stop-transitions');
				$('#main').skin({"albumName":"Oktober","makeDate":1734289369,"licensee":"redacted,"thumbDims":[418,209],"thumbsFill":!0,"pageWidth":1080,
"locale":"de-DE",
"fixedShapeThumbs":!0,"captionPlacement":"over","captionShowOnHover":!0,"pageType":"index","rootPath":"","resPath":"res","relPath":"","level":0,"lightbox":{"afterLast":"ask","thumbsVisible":!1,"maxZoom":1.2,"fitBetween":"panels","fitPadding":0,"transitionSpeed":600,"showNumbers":!0,"infoPanelAdapt":!0,"autohideControls":!0,"autoPano":!0,"clickAction":"toggleall","mouseWheelAction":"navigation"}});
				if (window.innerWidth < 640 || Modernizr.touchevents) { $('.dropdown.menu').dropdownMenu({fixed:!0}); }
				$('[data-tooltip]').addTooltip();
				$('[data-modal-open]').on('click', function(e){
					var t=$(e.target).data('modal-open');
					if(t&&(t=$('#'+t)).length){$('body').modal(t);}
				});
				$('[data-ask-permission]').askPermission();
			});


Edited by: RobM on 15 Dec 2024, 19:12
MrGerard

Posts: 14
Registered: 15-Aug-2010
Re: How to change the language to your own.
Posted: 16 Dec 24, 15:20   in response to: RobM in response to: RobM
 
<script>
			_jaWidgetBarColor = 'black';
			$(document).ready(function(){
				REL_PATH='';PAGE_NAME='index.html';
				$.ajaxSetup({cache:true,contentType:false});
				$('body').removeClass('stop-transitions');
				$('#main').skin({"albumName":"Galeria Fotograficzna 2006-2024","makeDate":1733756067,"licensee":"removed by admin","thumbDims":[358,161],"thumbsFill":!0,"pageWidth":1480,"locale":"pl-PL","uplink":"https://www.parafiacisowa-kedzierzyn.pl","weblocationCounts":!0,"rightClickProtect":!0,"share":{"sites":"twitter,email,link","hook":".social","buttons":"twitter"},"hiDpiThumbs":!0,"markNew":{"days":15,"reference":"added"},"captionPlacement":"over","captionShowOnHover":!0,"thumbLayout":"horizontal","hoverEffect":"hover-zoom","pageType":"index","rootPath":"","resPath":"res","relPath":"","level":0,"tagCloud":{"fields":"creator,artist,keywords,","depth":"tree","hook":".tag-cloud-cont","sort":"frequency","fontVaries":!0},"lightbox":{"afterLast":"ask","thumbsVisible":!1,"captionVisible":!1,"maxZoom":2,"fitBetween":"panels","fitPadding":10,"timingControl":!0,"videoAuto":!0,"showShare":!0,"transitionSpeed":600,"autohideControls":!0,"autoPano":!0,"backgroundAudioSlideshowControl":!0,"buttonLabels":!1,"clickAction":"toggleall","mouseWheelAction":"navigation","showFullscreen":!0}});
				if (window.innerWidth < 640 || Modernizr.touchevents) { $('.dropdown.menu').dropdownMenu({fixed:!1}); }
				$('[data-tooltip]').addTooltip();
				$('[data-modal-open]').on('click', function(e){
					var t=$(e.target).data('modal-open');
					if(t&&(t=$('#'+t)).length){$('body').modal(t);}
				});
				$('[data-ask-permission]').askPermission();
			});
 
		</script>

To mój kod i momo ustawionego języka PL

This means that it is not possible to display it in the language specified by the user.
Thank you and have a good day.

Edited by: JeffTucker on 16 Dec 2024, 09:38, to supply code tags

Edited by: RobM on 16 Dec 2024, 21:30
removed license code
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums