Modals

Language override from data.txt not working anymore

6 months 1 week ago #82801

Valentin R's Avatar Valentin R

Hello Peter,

after upgrading to the latest Modal version, the image title and image description are not anymore replaced by the language string in the data.txt and passed through JText (set as a language override).

As here:

www.regularlabs.com/forum/modals/41442-m...iple-images-in-a-row

Can you confirm the isssue?
Thank you as always and keep awesome.

Regards

Valentin

6 months 1 week ago #82805

Peter van Westen's Avatar Peter van Westen Admin

Please try the latest development version from:
www.regularlabs.com/development-releases

6 months 1 week ago #82817

Valentin R's Avatar Valentin R

Hello Peter,

tried the development release and cleared all caches but still e.g. on my italian site, the german language strings are passed through. Here the site:

Confidential information:
(hidden)


Regards

6 months 1 week ago #82822

Peter van Westen's Avatar Peter van Westen Admin

Not sure why that would be, as Modals simply passes the title through the Joomla JText class.
Can you also give me (s)ftp access so I can take a deeper look?
You can use the 'Hidden text' button in the forum editor to hide the confidential information.

6 months 1 week ago #82833

Valentin R's Avatar Valentin R

Sorry for the delay. I spend hours in figuring out that I (uppercase I) is not l (lowercase l). 🤔 Please find attached the credentials. Note: The I is an "el"
Thank you for having a closer look:

Confidential information:
(hidden)

6 months 1 week ago #82846

Peter van Westen's Avatar Peter van Westen Admin

Hmmm, looks like your website is heavily caching stuff and changes I make to Modals files don't have an effect on the output.
Can you give me (super) admin access?

6 months 1 week ago #82860

Valentin R's Avatar Valentin R

Confidential information:
(hidden)

6 months 1 week ago #82864

Peter van Westen's Avatar Peter van Westen Admin

This is the tag you are using to place the modal:

{modal images/geschichte/ph1.jpg|group=mygallery|title=Die Payerhütte um 1890}
That title is not a language key.

Also, I recommend you convert your {modal} tags to use the new syntax ('new' as in: since 24-Aug-2016)
{modal url="images/geschichte/ph1.jpg" group="mygallery" title="YOUR_LANGUAGE_STRING"}

6 months 1 week ago #82867

Valentin R's Avatar Valentin R

Thank you for the update!
Will change that asap.