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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 11 replies, has 0 voices.

Last updated by stefanR-26 11 minutes ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 11, 2025 at 9:35 am

stefanR-26

Background of the issue:
I am trying to translate pages to Portuguese on twopurpose.nl and make them appear on twopurpose.pt. Here is the link to a page where the issue can be seen: hidden link. I have also shared a video for reference: hidden link.

Symptoms:
The text should be in Portuguese as well, but currently only the title is translated. I am sure the translation is in ATE, and the cache has been cleared (server, litespeed, and WPML) also synced the ATE and still not showing up.

Questions:
Why is only the title translated and not the text?
What could be causing the translation not to appear despite clearing the cache and syncing ATE?

July 11, 2025 at 10:13 am
July 11, 2025 at 10:14 am #17227201

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Reference to our recent chat, I've moved to this ticket and 'll follow up accordingly. It may need some time.

Please enjoy your lunch and I'll update you soon on this.

Regards.

July 11, 2025 at 10:17 am #17227209

stefanR-26

Hi, the translation shows on the portuguese page now, BUT I don't know how Waqas solved it, so maybe it helps if i understand what the problem was, so i can prevent this from happening in the future.

Besides, there is another problem with the language switcher, for example on

hidden link

if i switch to Dutch (see footer), nothing happens.

July 11, 2025 at 12:05 pm #17227877

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

The issue with translation was resolved by registering WPML again with new site key, as we did this during the chat. That was a temporary hiccup and you don't need to try that very often.

For the language switcher, I checked in detail. When I save the URL options in WPML -> Languages while "validate on save" is on, I get "Not valid" for .pt domain.

I've also tried by turning off "validate on save" and resaving permalinks, as well as, clearing cache and disabling language switcher cache - to no luck.

I discussed further with the team and they suggested following:

...they should make sure both domain work fine with WPML disabled.

If this works fine, and issue is only when WPML enabled, then something is wrong, either with plugins or config or server.

So please check by disabling WPML? Because in this case, if both domains don't work properly then perhaps you 'll need to check with your hosting or service provider for domain configurations.

Otherwise, please note that I may need to deactivate all other plugins and check with WPML only also, to check for any conflict or other misconfigurations kicking in. This may require some time.

Please let me know.

P.S.: I'll be off over the weekend and 'll be able to attend on Monday.

July 12, 2025 at 7:44 am #17229839

stefanR-26

Hi Waqas,

I disabled WPML and all works fine, website is both available with twopurpose.pt and twopurpose.nl. However, if im visiting twopurpose.pt (homepage) and I hover over the dutch flag in the language selector, the URL to the dutch site is still twopurpose.pt, which actually it should be twopurpose.nl.

July 14, 2025 at 7:42 am #17231892

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates and taking time to check all about it.

I discussed with the team further and am trying to reproduce the issue on my local environment, to see if I can reproduce the issue. Otherwise I'll then request the backup of your site. However, please allow me some time and I'll get back to you accordingly with next steps.

July 14, 2025 at 1:23 pm #17234153

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation. I am still working on this and 'll get back to you as soon as I find something or have a solution.

July 15, 2025 at 6:51 am #17236189

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I prepared a local setup and tried to reproduce the issue, but here it works just fine. I've hidden link">recorded my screen to show the setup, configuration and working. The setup/config part in beginning is just to show and relate with real-world setup (i.e. domains vs DNS, or how they are setup and resolve). While rest of the video shows WPML and how it is working.

So I need a copy of your site. Please see https://wpml.org/de/faq/provide-supporters-copy-site/ for details.

I've set your next reply as private to provide the above mentioned securely.

July 15, 2025 at 1:22 pm
July 16, 2025 at 10:34 am #17241348

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates, I can see the file and 'll download soon and proceed accordingly.

I'll keep you posted about the progress.

July 17, 2025 at 7:20 am #17244134

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation. I've escalated the issue to our 2nd tier team for further investigation. I'll update you as soon as there's more to it.

July 17, 2025 at 8:10 am #17244377

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Our team investigated the issue and recommends to remove or comment out following lines in wp-config.php file. Please follow these steps:

- Open wp-config.php file for editing. You can use a file manager plugin.
- Find the following lines:

define('WP_SITEURL', '<em><u>hidden link</u></em>' . $_SERVER['HTTP_HOST']);
define('WP_HOME', '<em><u>hidden link</u></em>' . $_SERVER['HTTP_HOST']);

- Better to comment out for now, instead of deleting, like below:

//define('WP_SITEURL', '<em><u>hidden link</u></em>' . $_SERVER['HTTP_HOST']);
//define('WP_HOME', '<em><u>hidden link</u></em>' . $_SERVER['HTTP_HOST']);

- Save the file.
- Clear the caches and check again.

Since this is a live site, we didn't make this change without asking. If you're not sure how to do the above mentioned, please let me know.

July 23, 2025 at 9:51 am #17263007

stefanR-26

Hi Waqas.

I checked this again and now the links seem to work. Yet, the translations on my homepage stopped working again. I deregistered my site and registered again, but it doesn't solve the ploblem. What is going wrong here?