Skip Navigation

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

Problem:
The Client is translating your site from Dutch to English, but some pages and posts are not automatically translated and display an eye icon indicating the English language assessment.
Solution:
If you're experiencing this issue, we recommend you follow these troubleshooting steps after ensuring you have a full site backup:
1) Navigate to WPML>>Support page, and click on the Troubleshooting link.
2) On the Troubleshooting page, click on the following options in the *Clean up* section and wait for confirmation after each:
- 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
3) Go to WPML>>Translation Management Dashboard.
4) Select the Post/Page you have issues with.
5) Send it to the Translation Basket.
6) Visit WPML>>Translations queue and click the *Translate* button to translate the page.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance 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.

Tagged: 

This topic contains 23 replies, has 2 voices.

Last updated by Bigul 3 years ago.

Assisted by: Bigul.

Author Posts
March 29, 2022 at 11:46 am

leonK-7

Hi, I'm trying to translate my site from Dutch to English language. But Some pages and posts are not translated automatically. They show me with eye icon (English language assessment). Please help to translate my site

March 29, 2022 at 2:31 pm
March 29, 2022 at 4:45 pm #10904669

Bigul
Supporter

Languages: English (English )

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

Hello,

Please check the attached images. Few of the Pages are showing the translation is a complete status now, including the Search & Home #2 page.

We have a request. Now most of the plugins(21, including Elementor) and parent theme Astra are using older versions. This may also make conflict. So please upgrade to the latest versions after a full site backup{mandatory} and try the following steps. Hope it will help.

1) Visit WPML>>Translation Management Dashboard
2) Choose the Post/Page you have issues with the translation
3) Send it to Translation Basket
4) Visit WPML>>Translation Management>>Translation Basket
5) Send it for translation, by choosing yourself as a translator(may Translation Basket tab is missing for you because you are the only translator of the site)
6) Visit WPML>>Translations queue and translate the page by clicking the *Translate* button

--
Thanks!

Bigul

2022-03-29_22-02-41.png
2022-03-29_22-01-06.png
2022-03-29_22-00-30.png
March 29, 2022 at 5:01 pm #10905049

leonK-7

please check

March 29, 2022 at 5:02 pm #10905077

leonK-7

I have attached the info

March 30, 2022 at 6:00 am #10907199

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. The bug is existing for pages like Test, which is not using Elementor. So couple of requests.

a) Please share with us the WordPress debug.log(not WPML debug information) for collecting more details on this. Refer to this page for instructions https://wpml.org/documentation/support/debugging-wpml/

To enable WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check you are getting any errors or warnings related to WPML in the log file.

b) Please check you are getting any error related to WPML in the server error log while having this bug. May you need your hosting team's support to access the server error log file.


If you can paste your debug and server error log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

--
Thanks!

Bigul

March 30, 2022 at 4:46 pm #10913973
leonK-7

please check debug file : https://pastebin.com/bDMSNHdH

March 31, 2022 at 7:31 am #10916447

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the Debug log details. Debug log is showing an error, it may be related. So I have added a new ticket for it for easy tracking. Also as per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. Also, it will help other users with similar problems find solutions when searching the forum.

PHP Fatal error: Uncaught TypeError: Argument 2 passed to WPML_PB_Handle_Custom_Fields::is_page_builder_page_filter() must be an instance of WP_Post, null given, called in

Both issues require further debugging. Therefore please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server.

--
Thanks!

Bigul

March 31, 2022 at 7:51 am #10916685

leonK-7

Yes, please. I have installed the Duplicator plugin. You can make the duplicate copy as you want.

March 31, 2022 at 1:01 pm #10920621

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. I made a copy of the site, will debug it further, and get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

April 1, 2022 at 3:30 pm #10930817

leonK-7

ok

April 2, 2022 at 4:18 pm #10935723

Bigul
Supporter

Languages: English (English )

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

Hello,

Please check the attached images. I am getting the expected results in my local copy after the following steps. So please tries the following troubleshooting steps after a full site backup{mandatory} and make sure the issue is existing or not.

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

2) On the Troubleshooting page, please click on the following options of 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

3) Visit WPML>>Translation Management Dashboard
4) Choose the Post/Page you have issues with the translation
5) Send it to Translation Basket
6) Visit WPML>>Translations queue and translate the page by clicking the *Translate* button

--
Thanks!

Bigul

2022-04-02_21-45-13.png
2022-04-02_21-44-31.png
April 2, 2022 at 4:54 pm #10935907
leonK-7

Hi, the - Set language information is not working for me. When I try to choose this option the process still continues. When I checked in the console. I got these errors. please check the below link :
hidden link

New threads created by Bigul and linked to this one are listed below:

https://wpml.org/forums/topic/set-language-information-resulted-in-an-error/

April 2, 2022 at 5:00 pm #10935913

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. Please refresh the page and try again the *Set language information* option.

If the issue exists, please complete the rest of the WPML Troubleshooting options and check whether the translation issue is existing or not.

--
Thanks!

Bigul

April 2, 2022 at 5:11 pm #10935917

leonK-7

Hi, the - Set language information error is still showing. But the translation is working fine.