fancybox icon indicating copy to clipboard operation
fancybox copied to clipboard

translation issue with fancybox.open()

Open githubertus opened this issue 5 years ago • 2 comments

While running fancybox 3.5.7 on Win10 (Chrome, Firefox, Edge) - and other opts are working fine,

$('.fancymodal').click(function() {
	$.fancybox.open({
		src: 'test', 
		type: 'html',
		opts : {
			smallBtn: false,
			lang: 'de', // doesn't work at all
			beforeShow : function() {
				$.fancybox.defaults.lang = 'de'; // starts working on 2nd opening
			}
		}
	});
}).promise().done(function(){ 
	$.fancybox.defaults.lang = 'de'; // works right from the beginning
});

githubertus avatar Oct 15 '19 16:10 githubertus

Hi,

Hmm, true, I will look into this.

fancyapps avatar Nov 15 '19 07:11 fancyapps

Still an issue.

jurajkapsz avatar Sep 08 '20 21:09 jurajkapsz