Skip Navigation

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

Problema:
El cliente estaba experimentando problemas con la interfaz en árabe de su sitio web. Las traducciones al árabe se habían eliminado repentinamente y al hacer clic en cualquier categoría de producto en la interfaz en árabe, el sitio redirigía a una página de producto individual o a una página en blanco en lugar de a la categoría correspondiente.

Solución:
Identificamos dos problemas en el sitio del cliente:
1. Los slugs de las categorías de productos tenían un espacio en lugar de un guion. Corregimos esto utilizando el mismo slug en inglés para ambos idiomas.
2. El interruptor de idioma en la parte superior no fue creado por WPML y estaba redirigiendo a una URL incorrecta. Agregamos un interruptor de idioma en el pie de página para demostrar que funciona correctamente.

Recomendamos al cliente cambiar el interruptor de idioma en el encabezado del sitio por uno de WPML, siguiendo los pasos descritos en esta guía: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/

Si estás experimentando este problema, te recomendamos que sigas los pasos que proporcionamos. Sin embargo, ten en cuenta que la solución podría no ser relevante si está desactualizada o si no se aplica a tu caso. Si es así, te sugerimos abrir un nuevo ticket de soporte. También recomendamos encarecidamente revisar los problemas conocidos en https://wpml.org/known-issues/, verificar la versión de la solución permanente y confirmar que has instalado las últimas versiones de temas y plugins.

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 14 replies, has 3 voices.

Last updated by Carlos Rojas 1 year ago.

Assisted by: Carlos Rojas.

Author Posts
April 16, 2024 at 1:28 pm #15525670

miraN-2

Tell us what you are trying to do?

There is a video link explaining the situation I experienced. I've been experiencing this since last night. suddenly all Arabic translations were deleted. can you help please? The site gets traffic and the majority of our users use the Arabic interface.

hidden link

Is there any documentation that you are following?

hidden link

Is there a similar example that we can see?

What is the link to your site?

April 16, 2024 at 11:55 pm #15528579

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi there,

While waiting for one of my colleagues to help you, could you please provide some additional information to help us better understand the issue?

From the screencast you shared, it's a bit difficult to grasp the problem fully. Can you confirm if the Arabic version of the site is missing when you navigate to your pages and products? Additionally, do you see any count for the content?

Could you also let us know the results when WPML is temporarily deactivated? Does the content display correctly then?

Your input will help us troubleshoot the issue more effectively.

April 17, 2024 at 12:15 am #15528582

miraN-2

Hi there,
Thanks for your help,
This problem only exists in the Arabic interface. The English interface works smoothly. I can summarize the situation as follows; When I click on any brand in the Arabic interface, the page that opens displays the brand's products without any problems, I do the same thing when I press the category icon on the shop page, when you click on any of the opened categories, the website takes you to the single product page, not to that category, and shows something complicated.
Thank you

April 17, 2024 at 12:23 am #15528585

miraN-2

And ı dropped a short and detailed video link to explain situation and difference between English and Arabic interface
hidden link

April 17, 2024 at 9:50 am #15530558

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hello,
My name is Carlos and I will continue working on this ticket

I watched the video and I can see the problem in the product category. Could you tell me if the categories are using an Elementor template to display the products?

April 17, 2024 at 1:21 pm #15532409

miraN-2

Hi Carlos,
I purchased this theme and ı m not good with it. I m not sure but ı think yes, 3 days ago Whatever happened to the WPML plugin suddenly most of my translations were deleted and many widgets disappeared. I created some widgets, but I could not solve this problem. My site had a lot of sales, but my business stopped due to this situation. so I need urgent help. I'm leaving the theme files here, maybe it might help. hidden link
Thank you

April 17, 2024 at 1:48 pm #15532703

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hi,
Thank you for sharing the video.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. If we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

April 17, 2024 at 4:29 pm #15534020

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Thank you for sharing the credentials requested.

Unfortunately, the password is incorrect. Please double-check the credentials and edit your previous private message if necessary.

April 17, 2024 at 5:44 pm #15534414

miraN-2

I edited you can check again, thank you

April 18, 2024 at 9:39 am #15536803

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hi,
Thank you for updating the credentials.

Now I'm getting a 2FA message: "Log in to WordPress.com
Notification sent! Confirm in your Jetpack or WordPress mobile app to continue."

Could you deactivate the 2FA?

April 18, 2024 at 2:08 pm #15539440

miraN-2

Sorry about that, ı deactivated

April 18, 2024 at 6:40 pm #15540858

miraN-2

I think I found the source of the problem, but I don't know what the solution is. The problem is; There is an error in the linking of categories in the Arabic interface. When you click on any category in the Arabic interface, it does not direct you to the category. It either sends to a blank page or a single product page. If we solve this situation, I think the problem will be solved.

April 19, 2024 at 6:47 am #15541908

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Thank you. This time I was able to log into the site.

There were two problems on the site:
- The slugs of the product categories had a space, instead of a hyphen. I fixed this by using the same slug in English in both languages
- The language switcher at the top is not created by WPML and is redirecting to the incorrect URL. I added a language switcher in the footer so you can see that it works correctly.

I recommend you change the language switcher in the header of the site for a WPML language switcher by following the steps described in this guide: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/

Could you confirm that the issue is solved?

April 19, 2024 at 12:25 pm #15543603

miraN-2

I confirm that the problem has been solved by you. I am grateful, you saved me from a big trouble, thank you very much for your help.

April 19, 2024 at 12:32 pm #15543640

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hi there,

I'm glad to hear that the issue is solved 🙂

Please don't hesitate to contact us if you need our help in the future with WPML. We will be more than happy to help.
Best regards,
Carlos