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.

Etiquetado: 

Este tema contiene 14 respuestas, tiene 0 voces.

Última actualización por Otto hace 1 día, 9 horas.

Asistido por: Otto.

Autor Publicaciones
agosto 20, 2025 a las 2:07 pm

rodrigoN-4

Antecedentes del problema:
Estoy intentando acceder a Apariencia - Partes de plantilla - Front Header para editar los enlaces de los botones y configurar en inglés, ya que actualmente solo están en español. También tengo problemas similares con el Footer que no me deja guardar los cambios que hago. URL: enlace oculto
Probé estos procesos pero no funcionó:
- Fix del prefijo en los dos archivos PHP de WPML
- Aumento de memoria a 256M / 512M
- Verificación de traducciones en WPML
- Prueba con tema por defecto (Twenty Twenty-Three)
- Instalación de Plugin Healtcheck para validar el estado del website
- Desactivación de plugins y prueba uno a uno para validar si hay conflictos
- Accesos para edición por distintas opciones desde WordPress, pero no se guarda la configuración, y permanece igual

Síntomas:
En el caso del Header, la pagina se congela y no me permite hacer cambios, y para el Footer, puedo hacer cambios pero no me permite guardar estos cambios y solo me aparece el mensaje: Ha fallado la actualización. Las respuesta no es una respuesta JSON válida.

Preguntas:
¿Por qué no puedo editar el Header en inglés?
¿Por qué no puedo guardar los cambios en el Footer?
¿Tiene que ver que usé Kubio para crear/editar mi website?

agosto 20, 2025 a las 3:01 pm
agosto 20, 2025 a las 7:02 pm #17335417

Otto
Partidario de WPML desde 09/2015

Idiomas: Inglés (English ) Español (Español )

Zona horaria: America/Argentina/Buenos_Aires (GMT-03:00)

Hola,

Por favor, haz lo siguiente:

- En WPML > Configuración > Configuración de XML Personalizada agrega:

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="kubio/button" translate="1">
      <xpath>/*</xpath>
      <key name="link">
        <key type="link" name="value"></key>
      </key>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

- Luego ve a Apariencia > Partes de plantilla y haz un pequeño cambio en Front End header.
- Ve a WPML -> Gestión de traducciones y actualiza la traducción

Una vez hecho esto, el link apuntará al idioma correcto.

Saludos cordiales,
Otto

agosto 25, 2025 a las 2:55 pm #17345575

rodrigoN-4

When we ran the tests you recommended, we didn't see any changes. There was no difference when trying to edit the header or footer in English. The page keeps freezing and won't allow us to save changes.
Could this be an incompatibility with Kubio?
How can we fix it?
Can we enable a diagnostic mode that allows us to make changes and test configurations without affecting the website?

Regards.

agosto 25, 2025 a las 4:59 pm #17345881

Otto
Partidario de WPML desde 09/2015

Idiomas: Inglés (English ) Español (Español )

Zona horaria: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

It's weird, it worked for me locally.

You should not edit the Front End header in English. You should make a small edit in the original language (Spanish) and the update the translation via WPML -> Translation Management. The link is updated automatically even if it does not show up in the translation editor.

In order to test without affecting your site, I created a clean installation of WordPress, WPML, and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below:
enlace oculto

Kindly follow the steps below:

- Don't restore your site there.
- Install Kubio
- Replicate the issue with minimal steps.
- Then let me know and we will check it there

Best Regards,
Otto

agosto 25, 2025 a las 6:02 pm #17346102

rodrigoN-4

Ok, I accessed enlace oculto

I installed Kubio, the Pathway theme, and in the image I'm sharing, the "Get Started Now" button includes the link to go from the Home page to the Blog page, which already works.
I wanted to automatically translate it to simulate the rest, but it notifies me that it needs credits.
Please help me generate that part so I can continue with the simulation.
The idea would be that if the page is in English, the internal link in the button doesn't go to the Spanish page; it should go to the English version, not back to Spanish.

Captura de pantalla 2025-08-25 130151.png
Captura de pantalla 2025-08-25 130120.png
agosto 25, 2025 a las 6:08 pm #17346150

Otto
Partidario de WPML desde 09/2015

Idiomas: Inglés (English ) Español (Español )

Zona horaria: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I added credits to the site and enabled the "dummy" translation engine. It will not generate "real" translations but simulate them, adding a language prefix to the texts. For testing purposes is OK.

The link will not work until you add this in WPML > Configuración > Configuración XML Personalizada:

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="kubio/button" translate="1">
      <xpath>/*</xpath>
      <key name="link">
        <key type="link" name="value"></key>
      </key>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

Once you add it (and update the translation if needed) the link will be automatically corrected.

Let me know how it goes, please.

Best Regards,
Otto

agosto 25, 2025 a las 6:46 pm #17346190

rodrigoN-4

Please help me activate translation. For some reason, I can't find the option since I'm still getting familiar with WPML.
The idea is to have English translations enabled on the pages, that is, to switch between languages. When they are in English, and when I press the button on the Home page that directs to the blog page, it stays in English.
I copied the text from the XML code, but I'm still not sure if it works.

agosto 25, 2025 a las 6:48 pm #17346191

rodrigoN-4

It doesn't allow me to synchronize the menus

Captura de pantalla 2025-08-25 134743.png
agosto 25, 2025 a las 7:14 pm #17346249

Otto
Partidario de WPML desde 09/2015

Idiomas: Inglés (English ) Español (Español )

Zona horaria: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I translated all the content automatically:
https://wpml.org/documentation/translating-your-contents/

Then I manually update the Front End header template part this way (I suggest using relative URLs):
enlace oculto

Let me know if everything is working as expected and if you need clarification on any step to achieve it.

Best Regards,
Otto

agosto 25, 2025 a las 7:51 pm #17346268

rodrigoN-4

Perfect, thanks for the instructions.
When I checked our shekinah-group.com/fortress portal, I found that I have a duplicate front-end header in the translations.
Could that be the cause, or one of the causes, of the problem?
I followed the steps in the video, and it shows that the translations are complete, so it should work. However, when I check my website, the button to keep the page in English still doesn't work.

Captura de pantalla 2025-08-25 144713.png
agosto 25, 2025 a las 7:52 pm #17346283

rodrigoN-4

Could you access our Fortress portal to validate these configurations?
We've tested and made changes, and nothing seems to work.

agosto 25, 2025 a las 8:52 pm #17346324

Otto
Partidario de WPML desde 09/2015

Idiomas: Inglés (English ) Español (Español )

Zona horaria: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Sure. Is it a staging environment or the production site? Same url and credentials?

Please, confirm that you have a reliable backup and share new credentials if needed. I enabled a private reply.

Best Regards,
Otto

agosto 25, 2025 a las 9:05 pm
agosto 25, 2025 a las 9:20 pm #17346332

Otto
Partidario de WPML desde 09/2015

Idiomas: Inglés (English ) Español (Español )

Zona horaria: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks. FTP is not needed.

I did two things:
- In the Kubio template part (Front End header), I used a relative URL for the button link: /fortress/contact, instead of the full URL.
- I purged the SG cache after updating the translation.

As far as I can see, it's working OK. Can you please confirm?

Best Regards,
Otto