Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was unable to view the Spanish version of a product page despite translating it. In the backend, a plus icon indicated the need for translation, which persisted even after translating. On the frontend, switching to Spanish would reload the page in the default language.

Solution:
We identified that caching plugins might have caused the issue. We deactivated the caching plugins and switched to the 2024 theme. After editing the page and adding a Spanish translation, the issue was resolved, and the Spanish page displayed correctly both in the backend (showing a pencil icon) and on the frontend.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML support forum.

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.

This topic contains 5 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 1 month ago.

Assisted by: Waqas Bin Hasan.

Author Posts
June 20, 2024 at 6:40 am #15761339

jeroenB-22

Background of the issue:
I am trying to translate the product page to Spanish. The Spanish version of our product page has disappeared. On our pages overview in the backend, there is a plus icon indicating the page needs to be translated. I am able to translate the page, but after that, nothing happens. When you refresh the pages overview, the plus icon is back. On the frontend, when you switch from the default language to Spanish, the page just reloads in the default language again. Link to a page where the issue can be seen: hidden link

Symptoms:
The Spanish version of the product page is not appearing. The backend shows a plus icon indicating the page needs to be translated even after translation. The frontend reloads the page in the default language when switching to Spanish.

Questions:
Why is the Spanish version of the product page not appearing?
Why does the backend show a plus icon indicating the page needs to be translated even after translation?
Why does the frontend reload the page in the default language when switching to Spanish?

June 20, 2024 at 7:49 am #15761908

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Hi,

Thank you for contacting the support.

Before proceeding further, may I ask you to try the following?

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try these in a staging/dev site first, so your live website isn't compromised.

- Deactivate all plugins except WPML, WCML and WooCommerce.
- Clear all caches and retranslate the product to Spanish and recheck for the issue.
- Activate each plugin one-by-one, while keeping check on the issue after a plugin is activated. This way you'll be able to pinpoint a plugin having a conflict (or problem), if any.
- If the problem persists, repeat the above steps with a default theme of WordPress (i.e. 2021 or 2024).

Please let me know and I'll try my best to help you further on the matter.

Regards.

June 24, 2024 at 6:32 am #15803173

jeroenB-22

Hi,

The issues still persists.

Regards
Jeroen

June 24, 2024 at 10:39 am #15805698

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the updates.

I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

June 27, 2024 at 1:46 pm #15844534

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for the access. I am working on it and 'll get back to you accordingly.

Your patience and cooperation is highly appreciated.

June 28, 2024 at 8:10 am #15850239

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

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

Thank you for your patience and cooperation.

Looks like it was a temporary issue which was caused by some caching plugins. Because I deactivated caching plugin, switched to 2024 theme, edited the page (i.e. added a word test), saved and added the Spanish Translation. Most of the content was already in the ATE, while I added translation for the new word.

After completing the translation I was able to see it completed in Pages (pencil icon) and as well as on the frontend hidden link.

I tried this a few times and then switched back to your theme and tried again. Everything looks fine so far - see attached.

I deactivated following plugins and have left those as it is in the staging site for now:

- Redirection
- What The File
- Wordfence Security
- WP Fastest Cache
- WP Fastest Cache Premium (outdated)
- WP-Sweep

Please before activating these plugins, recheck for the above mentioned issue. Then activate these one by one while keep checking for the issue, to see when it starts happening. IMO, it shouldn't happen as perhaps it was a temporary glitch.

FYI, to remove that "testing wpml" text from the page, switch to 2024, edit page, remove, update translation. Because with your current theme there's no page body input text area when editing.

front.jpg
back.jpg