For some reason, a properly translated link always (at multiple instances on the website) gets truncated from hidden link
to hidden link
I have tried many ways to change this (in ATE, in string files, etc.), and in the translation views/windows it correctly saves (with confirmation message) but on the website it always end up being truncated and when I re-check the string it has been truncated again. In the troubleshooting page I have also cleared the WMPL cache, removed ghost entries, and ran the "cleanup and optimize string tables" command. But not change. Also checked if this is a redirection issue, but doesn't appear so.
In addition, when trying to access "Theme and Plugin localisation" the site throws a fatal WordPress error, which seems to be in the WPML section, hence I believe this is a WPML issue.
Can you please help? Cheers, Valentin
I will copy the fatal error message details below.
____________________________________________________________________
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.9
Active theme: GeneratePress (version 3.6.1)
Current plugin: WPML String Translation (version 3.4.1)
PHP version 8.0.30
Error Details
=============
-- Removed by the support --
We need to replicate the LearnDash -deep-links issue on a fresh WordPress installation. Then I'll be able to escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link:
hidden link
With this link, you'll be directly logged in.
LearnDash is already installed on this site. I also configured WPML to have German as the default language and English as the second language. Please use just the basic configurations/steps needed to replicate the issue. When everything is finished, and you can reproduce the problem, please let us know. Important! Do not import your site to the test site. We must replicate the problem on a fresh, clean WordPress installation.
Regards,
Itamar.
Hi Itamar, I was able to replicate the same issue on the sandbox environment.
Check the link in the English Group "Founder Academy" here: hidden link
You'll see a link labelled "Deep link to English course topic" as second line.
It should deep link to this: hidden link
However, this link gets truncated (have tried to update the link twice) to the overall course page: hidden link
However, on the German Group "Founder Academy" it works fine. hidden link
Again, you'll see a link labelled "Deeplink to German course topic" as second line.
It should deep link to this: hidden link
On another note: would you be so kind to set this thread as non-public?
Eventhough the links are hidden, there are screenshots with the cleartext links in there, as well as the clear-text directory listing of the error message.
Cheers, Valentin
Thanks for replicating the problem on the sandbox site.
At first, I found that German and English topics and lessons were not connected. But even after connecting them, the links still don't work as expected. I'll esclate this issue to our compatibility team.
We will update you here as soon as we have news about this issue.
ok understood .
Yes, I know the that only courses are translation-linked, not the nested topics or lessons. This is intentional (people usually don't decide to switch languages once they started a course... ) and I've been working with this setup fine for years.
Thanks for forwarding this to the compatibility team - looking forward to hearing from you guys.
Cheers.
P.S.: I somehow don't seem to get any email notifications for new messages posted in this ticket - even though this is checked in my account preferences. I can of course check manually, but not sure this is intentional?