[Resolved] Partial content doesn't display the translation
This thread is resolved. Here is a description of the problem and solution.
Problema: Si estás experimentando que una porción de tu página web sigue mostrando el idioma original a pesar de estar traducida en el editor de traducción y en la traducción de cadenas, y has notado que esto ocurre con bloques de Gutenberg que contienen enlaces, es posible que estés enfrentando un problema similar al del cliente.
Solución: Primero, intenta replicar el problema eliminando el enlace del bloque de Gutenberg para confirmar si la traducción se muestra correctamente. Si al hacer esto la traducción aparece, el problema podría estar relacionado con la forma en que WPML está manejando ese bloque específico.
Si después de registrar el bloque el problema persiste, te recomendamos contactar con los autores del bloque o del tema para que te proporcionen el código XML necesario para registrar el bloque en WPML.
Si el problema continúa después de seguir estos pasos, por favor, abre un nuevo ticket de soporte para que podamos ayudarte más a fondo. Te recomendamos también revisar los problemas conocidos en https://wpml.org/known-issues/, verificar la versión de la solución permanente y confirmar que tienes instaladas las últimas versiones de los temas y plugins.
Hi, I am translating thi URL hidden link
You can see the translated version on hidden link
The translation is working fine for the rest of the website but, for this specific page, there is an issue I have not been able to solve.
The strange thing is that, even with everything translated, a small portion of the web keep displaying the original language. (See screenshot)
It appears translated on the translation editor and in the string translation, but it keeps displaying the original English. (See screenshots)
I have tried to do small editions to force the refresh, but if I change the English version, the new English version appears, but not the translated one.
On the other hand, the link that appears points to the translated URL.
What can I do to make it display the proper translated content?
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.
When I tried to reproduce the issue (update the Spanish translation) I got a 500 error which was caused by WP Rocket. I then deactivated WP Rocket, but now I'm getting this message:
"Insufficient Storage
The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. There is insufficient free space left in your storage allocation"
Please fix this issue with your hosting providers and let me know when it's done so we can continue.
Hi,
sorry, I think that you just tried when I was updating the backup because I made some small changes yesterday. I have tried to activate and deactivate wprocket and it went well with no issues. You shouldn't face any issues, the website works like a charm.
The only situation in which you may find any issue is after working heavily with many tabs, as the hosting might misunderstand this as an attack and activate some controls over the requests number.
Additionally, the hosting is plenty of resources and we shouldn't have any issues with that.
By the way, we can use Spanish for the support, if it is ok with you.
He revisado la página y sospecho que la causa del problema está relacionada con la cache, sin embargo no tengo información suficente para determinar la causa del problema.
Si este problema solamente aparecen en esta página entonces le recomiendo que manualmente edite la página en Español: hidden link y traduzca el contenido del bloque que falta.
Hola, he probado y tengo una noticia buena y una mala:
La buena: He conseguido replicar el problema.
La mala: Parece un bug (el tema es Avas, debe ser un problema con el bloque Info Box)
Sospechaba que no era de caché porque ya había quitado el bloque y lo había añadido de múltiples formas y siempre pasaba lo mismo. Pero al probar de nuevo, me he fijado en una posible causa: el enlace.
**Como replicar el problema**
Si en el texto del contenido del bloque Info Box pongo un enlace:
- El texto aparece en el idioma original
- El enlace apunta hacia la página traducida.
Si quito el enlace, la traducción se muestra perfectamente.
He probado a añadir un enlace a otro bloque y el problema se repite, asimismo, al quitar el enlace al bloque con problemas, el problema desaparece. Además, me he dado cuenta de que al principio de la página había otro bloque con un enlace y le pasa lo mismo.
**Workaround**
Como me indica, he probado a editar directamente la página traducida y funciona.
Pero me surgen las siguientes dudas, ¿Qué problemas me puede dar esto para futuras ediciones de la página? ¿Afectará al resto de la traducción o solo a ese bloque?
Y, por otro lado, ¿Alguna idea del origen o cómo solucionar el bug?
Nota: En el caso de que luego de registrar el bloque persista el problema, entonces crearé un sitio de pruebas con una nueva instalación de WordPress + WPML y si el problema persiste lo escalaré a nuestro equipo de compatibilidad.
Es raro porque esos bloques info-box se usan por toda la web y, hasta ahora, no habían dado problemas para traducirlos.
En cualquier caso, he probado a declarar el bloque `info-box` explícitamente, he tenido que añadir todos los campos del bloque porque, si no, solo me aparecía una traducción parcial.
El tema es Astra, antes me confundí e indique que era otro.
Al registrar el bloque parece que se soluciona. Por si le sirve a alguien más, este es el XML que he usado para registrarlo:
No llego a entender porque lo traducía sin problemas hasta ahora, menos si añadía un enlace dentro del bloque `p` (el que aparece en último lugar). Pero, por algún motivo, al indicarlo de forma explícita, ya lo muestra correctamente.
Hola,
Me alegra saber que el problema está resuelto 🙂
Por favor no dude en contactarnos si necesita de nuestra ayuda en el futuro con WPML.
Saludos cordiales,
Carlos
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.