Skip Navigation

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.

Tagged: 

This topic contains 6 replies, has 0 voices.

Last updated by Bigul 10 hours, 19 minutes ago.

Assisted by: Bigul.

Author Posts
November 27, 2024 at 4:47 pm #16451015

patriciaD-7

Background of the issue:
I am using a template with strings that should be translated using WPML. The string translation functionality finds the strings, and I have provided translations.

Symptoms:
The English versions of the strings show on the frontend unless I enable 'Look for strings while pages are rendered'.

Questions:
Why do the translated strings only appear when 'Look for strings while pages are rendered' is enabled?
How can I ensure that translated strings appear on the frontend without enabling 'Look for strings while pages are rendered'?

November 27, 2024 at 5:42 pm #16451343

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

This may be a compatibility issue. Please try the following troubleshooting steps after a full site backup{mandatory} and make sure the issue exists or not.

1) Upgrade to the latest version of WordPress (6.7.1)

2) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details or contact your system admin/hosting provider for this purpose.

hidden link

3) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

4) On the Troubleshooting page, please click on the following options in the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables
- Show custom MO Files Pre-generation dialog box>>Generate .Mo files

--
Thanks!

Bigul

December 2, 2024 at 8:16 pm #16468337

patriciaD-7

I have followed all of the steps provided and the issue still exists. Please advise.

December 3, 2024 at 7:45 am #16469647

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the updates. One request. We have released a new version of WPML String Translation (3.2.16). It has included the fixes for similar issues. So please upgrade to the latest version after a full site backup and clear all types of caches. Then make sure the bug exists or not.

You may have to visit the Plugins>>Add New>> Commercial tab and click on the *Check for updates* button to get the WPML automatic upgrade links for the latest version. This step will help us refresh the installer caches.

--
Thanks!

Bigul

December 3, 2024 at 4:05 pm #16472917

patriciaD-7

I have installed the updated plugin, cleared all caches and redone the troubleshooting options, but still the issue persists.

December 4, 2024 at 7:27 am #16474579

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the updates. A couple of requests for tracking the bug.

1) Please let us know the exact steps to reproduce the issue on your site. It would be great if you could share a couple of screenshots or a screencast for a better understanding of the issue.

2) Please fill the private details fields after a full site backup. I would like to access the admin area of your site to check further. Refer to the following links for more details about our private information sharing policies.

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

hidden link

--
Thanks!

Bigul

December 11, 2024 at 7:16 pm #16505199

patriciaD-7

What's your email address? I will create a new user.

December 12, 2024 at 4:22 am #16505939

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the updates. Feel free to use one of your temp mail id or bigul[dot]m[at]onthegosystems[dot]com.

Also, please let us know the exact steps to reproduce the issue on your site. It would be great if you could share a couple of screenshots or a screencast for a better understanding of the issue.

--
Thanks!

Bigul

December 18, 2024 at 5:34 pm #16527147

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the login information and details. This may be a compatibility issue with your theme.

Please upgrade to the latest version of WPML (4.6.15 series, which has included the fix for similar issues) after a full site backup. Then clear all types of caches and make sure the bug exists or not.

--
Thanks!

Bigul

December 20, 2024 at 8:50 pm #16535405

patriciaD-7

I've completed the instructions and still the issue exists.

December 23, 2024 at 1:29 pm #16540538

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the feedback. Please allow me to make a copy of your site using the Duplicator plugin (https://wordpress.org/plugins/duplicator/) on my local server to debug the issue. This way, we can troubleshoot the problem without affecting your live site.

--
Thanks!

Bigul

December 23, 2024 at 4:18 pm #16541076

patriciaD-7

Ok, I'm fine with that.

December 24, 2024 at 7:55 am #16542831

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the permission. I made a copy of the site, we will test it further and get back to you as early as possible. Please wait.

--
Thanks!

Bigul