Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: 

This topic contains 67 replies, has 0 voices.

Last updated by Kor 3 days, 15 hours ago.

Assisted by: Kor.

Author Posts
October 4, 2025 at 7:10 am #17455650

arnoP-3

Thanks Kor. Good to hear a fix was found.

Out of interest, I'd like to know what the underlying problem and solution are?

To be sure that the official fix will work on the live site, I think it would indeed be good to apply the fix on our staging site. I prefer it to be applied on a different staging site, which is a newer copy of the live site. This is the staging site: hidden link.

Please let me know what you need from me to apply this fix.

October 5, 2025 at 4:49 pm #17457634

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Our 2nd Tier Support did not mention anything about what went wrong but he escalated this to our developers already. Would you like us to apply the fix to your staging site here? hidden link

October 5, 2025 at 4:54 pm #17457638

arnoP-3

OK, thanks. No, I'd like it to be applied on hidden link, which is the same but a bit fresher, so easier to test for me. Do you only need an admin login?

October 5, 2025 at 4:55 pm #17457667

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Yes, please share the credentials here using the private reply option below.

October 6, 2025 at 7:50 am #17458515

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks, I've shared your login credentials with our devs. I will come back to you once I've feedback.

October 6, 2025 at 10:45 am #17459718

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. Our 2nd Tier Support applied the fix on your staging site hidden link . Could you try retranslating now and see if the links are pointing to the right language?

October 12, 2025 at 10:05 am #17477161

arnoP-3

Hi Kor. Two observations:

1) On the page hidden link, the links in bullet point 2 and 3 under "Zusammenfassung", are now correct, and we did not do anything. This does not apply to all pages, but that might be caused by caching. It's an improvement because of the fix I guess. But buttons like "Alle Preise und Rabatte ansehen" still link to English.

2) I wanted to try what happens if I retranslate, but I can't translate many of the posts. The WordPress backend screen simply refreshes, and I never get to see the WPML ATE. Please try and go to hidden link and edit post 223701, for example. There's no error in the browser console. I've never seen this before, so it must be caused by the fix.

Can you fix point 2? Only then can I really test what happens.

October 13, 2025 at 2:27 pm #17480176

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. We’ve released some updates, which you can see here: hidden link
. Could you please update all WPML plugins to their latest versions and test again? After that, try making a small edit to the primary language page first.

October 14, 2025 at 7:30 am #17482105

arnoP-3

Ok, I updated all WPML plugins and changed one heading in the post hidden link. The links on hidden link are still pointing to English pages.

The links in bullet points 2 and 3 under "Zusammenfassung", are now incorrect again. I think they randomly switch between (mostly) incorrect and (sometimes) correct.

I assume you tested this on your end and it worked there? What's different on my end?

I even tried disabling Object Cache Pro, but it didn't make a difference.

October 14, 2025 at 12:02 pm #17483566

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've forwarded this back to our 2nd Tier Support and they will check and revert back to us.

October 15, 2025 at 5:13 pm #17488014

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. This is what our 2nd Tier Support mentioned.

I went back into that site and the first thing I did is check the edit I had made to the WPML file previously with the workaround.

But it had been reverted. Maybe the client did a plugin update or something, but—in any case—the workaround was missing, so it's expected it wasn't working.

I have re-applied the workaround, editing the file plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php.

The content with the un-transformed links needs re-translating; now when the post is translated, the links should get swapped out with the translated link targets.

October 16, 2025 at 7:25 am #17488898

arnoP-3

Yes, I had updated WPML as instructed. I tried again: the text links are fine, but the button "Alle Gültigkeitsdetails ansehen" is not. Even though WPML is instructed to translate that custom field too, please see my very first message.

Please test this on your end and only let me know once you're 100% sure every instance of links gets translated.

Thanks!

October 17, 2025 at 6:55 pm #17495084

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Could you try adjusting the button links in the Advanced Translation Editor when you translate it here? hidden link . check out the attached screenshot.

Screenshot_61.png
Screenshot_62.png
October 18, 2025 at 8:31 am #17495566

arnoP-3

So, you mean open the ATE, find the URL, unlock it, and translate it manually? I did that and saved the translation. The link is still English in the frontend.

This is frustrating; it's taking very long to get to the bottom of this, unfortunately.

October 20, 2025 at 6:46 pm #17500765

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've added the custom XML configuration below and the links should be translatable now as shown in the attached screenshot.

 <gutenberg-block type="meta-box/ohcc-block-button" translate="1">
      <key name="data">
        <key name="block_button_text" />
        <key name="block_button_url" />
      </key>
    </gutenberg-block>

Please check now and I apologize for not double checking earlier.

Screenshot_65.png
Screenshot_66.png