Saltar navegación

Este hilo está resuelto. Aquí tienes una descripción del problema y la solución.

Problema:
El cliente tiene una web en catalán e inglés y está experimentando problemas con los enlaces del footer que no se muestran correctamente en la versión en inglés, ya que siguen mostrando los enlaces de la versión en catalán.

Solución:
Si estás experimentando problemas con los enlaces que no se actualizan correctamente en las diferentes versiones de idioma de tu sitio, te recomendamos cambiar el formato de los enlaces de URL completa a URL relativa. Por ejemplo, en lugar de usar una URL completa como

'https://www.webendesarrollo.eu/fabrics/'

, deberías usar el camino relativo

'/fabrics'

. Este cambio a menudo soluciona problemas relacionados con direcciones de enlaces incorrectas en diferentes versiones de idioma de un sitio.

Para entender mejor los formatos de URL, puedes encontrar útil este artículo: https://www.tutorialspoint.com/difference-between-an-absolute-url-and-a-relative-url

Una vez que hayas actualizado el formato de URL en la plantilla del footer en inglés, asegúrate de actualizar la traducción de la plantilla de acuerdo con ello. Si necesitas asistencia para actualizar la traducción de las plantillas de Elementor, por favor consulta esta guía: https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

Si esta solución no parece relevante para tu situación, por favor abre un nuevo ticket de soporte en nuestro foro: https://wpml.org/es/forums/forum/soporte-en-espanol/

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.

Etiquetado: 

Este tema contiene 1 respuesta, tiene 2 voces.

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

Asistido por: Prosenjit Barman.

Autor Publicaciones
enero 15, 2024 a las 3:52 pm #15186115

Viti Agència Creativa

Hola,

Estoy haciendo una web en dos idiomas, cataán y ingés. He utilizado el traductor de WPML para añadir todos los enlaces del footer en los dos idiomas, pero no se muestran bien. Si visitas la web en inglés, los enlaces siguen los de catalán.

webendesarrollo.eu

enero 16, 2024 a las 9:42 am #15188612

Prosenjit Barman
Partidario de WPML desde 03/2023

Idiomas: Inglés (English )

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

Hello There,
Thanks for contacting WPML Support.

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 prefer to continue the conversation in Spanish. Based on your preference, I will forward this ticket to one of our Spanish-speaking colleagues to assist you further.

I understand the issue you're having and will try my best to assist you in this matter.

As per your instructions, I have checked the English version of the site and noticed the link on the footer pointed to the correct page. But, when I checked the Catalan version, I was able to see the issue.

It's important to note that internal links should automatically update to match their translations in different languages, as long as these translations are available. Given that your site has these translations and the footer is constructed using the Elementor page builder, my recommendation will be to change the link format from a full URL to a 'relative' URL, which might help resolve your issue.

For instance, when linking to the "Fabrics" page, instead of using the full URL like 'enlace oculto', it's more effective to use the relative path '/fabrics'. Switching to relative URL formats has often been successful in addressing problems related to incorrect link directions in different language versions of a site.

To gain a deeper understanding of URL formats, you might find this article helpful: enlace oculto

I strongly suggest trying this approach. Once you've updated the URL format in the English Footer template, make sure to update the translation of the template accordingly. I hope this solution proves effective for your situation.

[In case if you need assistance in updating the translation of Elementor templates, please check this guide: https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates]

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

Best regards,
Prosenjit