Saltar al contenido Saltar a la barra lateral

Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.

Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Zona horaria del soporte: Asia/Dhaka (GMT+06:00)

Etiquetado: 

Este tema contiene 3 respuestas, tiene 3 voices.

Última actualización por Prosenjit Barman hace 1 año, 2 meses.

Asistido por: Prosenjit Barman.

Autor Publicaciones
agosto 14, 2024 a las 7:31 pm #16072316

marthaA-3

Background of the issue:
Es la segunda vez que instalo WPML en un sitio y la primera vez todo funcionó perfecto. Esta vez el selector de idioma en el menú no funciona. Si entro a bkt.consulting/en si se visualiza el contenido traducido.

Symptoms:
El selector de lenguaje en el menú del sitio web no conecta con la traducción.

Questions:
¿Por qué el selector de idioma en el menú no funciona?
¿Cómo puedo solucionar el problema del selector de idioma en el menú?

agosto 14, 2024 a las 10:36 pm #16072663

Mihai Apetrei
Partidario de WPML desde 03/2018

Idiomas: Inglés (English )

Zona horaria: Europe/Bucharest (GMT+02:00)

Hola.

Antes de que este ticket sea asignado a uno de mis colegas, intentaré ayudarte.

Este problema me parece que podría estar relacionado con causas del servidor o una incompatibilidad entre WPML y (al menos) uno de los plugins activos o el tema actualmente activo.

1. Asegúrate de que tu servidor cumpla con los requisitos mínimos de WPML y que estés utilizando las versiones más recientes de WPML:
https://wpml.org/home/minimum-requirements

2. Si el problema persiste, ¿puedes informarnos si sigue ocurriendo incluso cuando solo están activos los plugins de WPML y estás utilizando un tema predeterminado de WordPress?

Por favor, prueba los siguientes pasos para verificar si se trata de un problema de compatibilidad:

- Haz una copia de seguridad completa del sitio web.

- Desactiva todos los plugins excepto WPML y sus complementos.

- Comprueba si el problema persiste.

- Si no es así, reactiva tus plugins uno por uno, verificando cada vez si el problema aparece de nuevo para identificar cuál es el plugin que lo causa.

Si el problema persiste incluso con los plugins no relacionados con WPML desactivados:

- Mantén todos los plugins no relacionados con WPML desactivados.

- Cambia a un tema predeterminado como TwentySeventeen.

- Intenta recrear el problema ahora.

Si tienes la oportunidad, lo mejor sería hacer esto en un entorno de pruebas (staging).

Por favor, háznos saber cómo te va y si seguir estos pasos resolvió tu problema o trajo algún cambio.

Esperamos tu respuesta.

Mihai Apetrei

agosto 16, 2024 a las 11:01 pm #16079422

marthaA-3

Ya hice todo lo que me comentas y sigue sin servir el switcher. Necesitas acceso al website para que me ayuden a corregir??

agosto 19, 2024 a las 7:28 am #16082229

Prosenjit Barman
Partidario de WPML desde 03/2023

Idiomas: Inglés (English )

Zona horaria: Asia/Dhaka (GMT+06:00)

Hi There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

To reduce the waiting time, I took this ticket and responded in English. Please let me know if you're okay with it or if you want to continue the conversation in Spanish language. I will check and forward this ticket to one of our Spanish-speaking supporters to assist you in the Spanish language.

I checked your site and noticed console errors when clicking on the language flags. Please refer to the attached screenshot. The error suggests an issue with an unrecognized expression while handling the URL, which often occurs due to a malformed selector or a problem with how jQuery interacts with page elements.

I also noticed that the menu items are currently anchored to sections on your site. Could there be a specific setting in your theme or plugins for the menu that might be preventing the menu items from functioning correctly with links?

If you've built the header using the Porto Header Builder, could you try adding the language switcher directly in the header using a shortcode or the Language Switcher element instead of the menu language switcher? Please check if this resolves the issue.

If you'd like to add the language switcher using a shortcode, please use the following shortcode: https://wpml.org/documentation/support/wpml-coding-api/shortcodes/#wpml_language_switcher

Please let me know how it goes. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

Screenshot 2024-08-19 123908.png

El tema '[Cerrado] El selector de lenguaje en el menú del sitio web no conecta con la traduccion' está cerrado a nuevas respuestas.