Skip Navigation

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

Problem:
The client was unable to use the automatic translation or manually translate pages. Additionally, the settings and support tabs were missing from the plugin menu, preventing access to debug information.
Solution:
We identified that some page records were not being correctly retrieved from the database. To fix this, we:
1. Navigated to WPML => Support.
2. Clicked on "Troubleshooting".
3. Performed the necessary actions on the Troubleshooting page.
After these steps, the homepage should now be visible in the translated language.

For the issue with posts not showing, it was found that they were in the trash. We advised the client to:
1. Go to Posts.
2. Check the trash for the English language posts and review them.

Regarding the forms issue, we suggested that it might require a separate support thread as we aim to focus on one issue per thread.

If this solution doesn't seem relevant to your situation, please don't hesitate to open a new support ticket with us.

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 17 replies, has 2 voices.

Last updated by Bobby 1 year, 3 months ago.

Assisted by: Bobby.

Author Posts
October 20, 2023 at 12:45 am #14619887

joseA-46

Hi, I need your help because I can't use the automatic translation or translate any page by myself.

I neither can't see the settings nor support tabs in the plugin menu, so I can't share with you the debug information, but as I'm telling you, the translation is not working.

Thanks in advance.

October 20, 2023 at 5:27 am #14620509

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

When you hover over the WPML plugin menu item, what are the options that you see available?

If it is only a few, click on Languages and verify that you have at minimum 2 languages activated and one of them marked as "Default"

Let me know your results, please.

October 23, 2023 at 2:10 pm #14639069

joseA-46

Hi, Booby. You can find attached what we are able to see. And yes, we have 2 languages activated and one of them marked as "Default".

Captura de pantalla 2023-10-23 160724.jpg
October 23, 2023 at 5:15 pm #14640397

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

October 27, 2023 at 8:38 am #14676441

joseA-46

Hi, Bobby, it says: IP address [removed] was already allowed access to the server.

Please, try again and let me know if it works. Thanks in advance.

October 27, 2023 at 8:03 pm #14682117

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

I am still getting the same error when I visit the /wp-admin area.

Is there a different login URL possibly?

October 28, 2023 at 1:11 pm #14683665

joseA-46

Hi, Bobby, the URL is correct... please, try maybe connecting through a VPN to a Spanish IP. Kind regards.

October 30, 2023 at 6:21 pm #14694419

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Thank you that worked!

It looks like your user is missing the full admin role for WPML.

To fix this, I suggest you run the following snippet:

function wpmlsupp_1706_reset_wpml_capabilities() {
if ( function_exists( 'icl_enable_capabilities' ) ) {
icl_enable_capabilities();
}
}
add_action( 'shutdown', 'wpmlsupp_1706_reset_wpml_capabilities' );

Just add the above code in your theme's functions.php file (between the <!--?php and ?--> tags) and visit once the front-page.

Then you can remove this snippet.

Please let me know if this fixes the issue.

Thank you!

October 30, 2023 at 9:10 pm #14695347

joseA-46

No, sorry, it doesnt works yet... let me know next step. Thx in advance!

November 1, 2023 at 9:01 pm #14711287

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Thank you for the feedback, I was able to do some further tests and verify that this issue is coming from a third party plugin.

Please do the following:

1. Take a backup of your site
2. Go to plugins and deactivate all third party plugins except WPML and it's add-ons
3. Notice the WPML plugin is now showing all the menu items
4. activate plugins in batches of 5 until the issue comes back in order to see which plugin is causing this behavior.

If possible I would highly recommend doing this on a staging environment.

Let me know your results, please.

November 3, 2023 at 10:24 am #14724481

joseA-46

Thank you, Bobby, now we can see the tabs, but the translation still does not work.

In theory the pages are translated but at the same time looks like they are like in pause, and we cannot translate it automatically or manually.

Could you help us, please? Thx in advance.

November 3, 2023 at 10:46 pm #14729475

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

I have reviewed the backend and I can verify that the account is connected as expected and you have credits as well.

Please go to WPML->Translation management->filter by "Not Tranlated " status select all and send for automatic translation.

Most pages/posts seem to be already translated

hidden link

November 6, 2023 at 9:21 am #14735947

joseA-46

Hi, Bobby, that's done, thank you. But still doesn't show the EN version in the site.

What should we do now? Regards.

November 7, 2023 at 1:35 am #14742653

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

I was able to locate the issue, some of the page records were not being picked up from the database as they should.

To resolve it I went to WPML => Support, and clicked on "Troubleshooting" While on the Troubleshooting page, I performed the actions.

You should be able to see your homepage translated now.

hidden link

Screen Shot 2023-11-06 at 5.31.10 PM.png
November 7, 2023 at 8:57 am #14744765
joseA-46

Great, Bobby, is working, thank you so much.

I still see some issues in the forms, find attached 3 screenshots of what I'm talking about, Two of them looks like a problem with the translation, the other is a not translated form. I've tried to find where to fix this, but I didn't...

Also, posts are translated but don't appear in the blog page.

Thanks again for your help and your patient.

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

https://wpml.org/forums/topic/split-i-cant-transalte-anything/

Captura de pantalla 2023-11-07 095448.jpg
Captura de pantalla 2023-11-07 095421.jpg
Captura de pantalla 2023-11-07 095354.jpg