Recently, we had been using a relative URL in a Slider Revolution slider for a link on the slider. The URL would change to a fully qualified URL and with a language change, would take you to the specific language's page. All was nice.
Then all of a sudden we noticed that it wasn't working anymore. The URL was missing the main site. So we hardcoded the URL to be a full URL. This fixed it for the primary language but it didn't get adjusted for other languages. Interestingly, the URLs that we have in our "normal" content within in a WP Bakery text module are full/complete URLs, not relative ones - and they get translated just fine into the other languages.
We use LiteSpeed Cache so I thought that perhaps it had been messing with things because we use it to minimize and defer/delay JavaScript. So I added transposh.js to the exclusions and it still didn't work (and I saw that tranposh.js WAS really excluded).
Then, I looked in the console for errors and I saw this:
`Uncaught ReferenceError: t_jp is not defined
transposh.js:35
transposh.js:441`
Other URLs on the page are being translated correctly but not the link in the banner that comes from Slider Revolution. I don't know if it has anything to do with the error I saw in the console or not. The folks at Slider Revolution are asking me how it is that Transposh is able to translate full URLs that are in our WP Bakery text modules but not full URLs that are in a Slider Revolution slider.
I'm guessing that it has to do with the order in which things are presented on the page, perhaps, or perhaps this error message that I saw in the console.
The page in question is [https://yuconvr.com](url) and the URL that is not being translated is "https://yuconvr.com/3d-capacity/" which you see as the button at the bottom of the banner video.
Thanks for any guidance you might be able to give.
Recently, we had been using a relative URL in a Slider Revolution slider for a link on the slider. The URL would change to a fully qualified URL and with a language change, would take you to the specific language's page. All was nice.
Then all of a sudden we noticed that it wasn't working anymore. The URL was missing the main site. So we hardcoded the URL to be a full URL. This fixed it for the primary language but it didn't get adjusted for other languages. Interestingly, the URLs that we have in our "normal" content within in a WP Bakery text module are full/complete URLs, not relative ones - and they get translated just fine into the other languages.
We use LiteSpeed Cache so I thought that perhaps it had been messing with things because we use it to minimize and defer/delay JavaScript. So I added transposh.js to the exclusions and it still didn't work (and I saw that tranposh.js WAS really excluded).
Then, I looked in the console for errors and I saw this:
`Uncaught ReferenceError: t_jp is not defined