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 11 respuestas, tiene 0 voces.

Última actualización por Otto hace 2 días, 19 horas.

Asistido por: Otto.

Autor Publicaciones
agosto 26, 2025 a las 11:51 am #17348109

rodrigoN-4

If it works, perfect!
Thank you very much for your help with this part.

Now, we just need to fix the footer issue, which doesn't allow editing.
When you go to edit in the Footer template section, the button named "Inicio" has the automatic translation "Beginning," and we want to correct this and change it to "Home."

The page does allow editing, but when I save it, I get the notification: Update failed. The response is not a valid JSON response. (I've attached a screenshot.) With this problem, the changes aren't saved.

We need to fix this so we can save changes for this occasion and as many times as we need.

agosto 26, 2025 a las 12:20 pm #17348270

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,

The problem with the footer template part and "Edit with Kubio" must be coming from a third party compatibility conflict. In my local copy of your site I deactivated all the plugins but WPML and its add-ons and Kubio and I managed to save it.

To fix the problem on your site, I did the following:
- Edited the footer template part with the regular WP editor
- Made an unnoticeable change (added a space)
- Edited the translation to change Beginning to Home

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

Best Regards,
Otto

agosto 26, 2025 a las 4:37 pm #17349136

rodrigoN-4

Hello, thank you for your help editing the Home name.

Now, we have a similar issue with the header.
The footer buttons: Home, Plans and Services, About, and Contact.
Since the page is in English, and I click any of these buttons, they also switch to the Spanish pages; they don't stay in English.
I tried the steps for relative URLs and updated the translations in Appearance - Template Parts, but I don't see any changes.
Can you help us, please?

agosto 26, 2025 a las 5:39 pm #17349265

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,

The footer template uses another element, we need to update the XML config.

Please, in WPML > Settings > Custom XML Configuration, replace what you added with this:

<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-block type="kubio/iconlistitem" translate="1">
      <xpath>/*</xpath>
      <key name="text" />
      <key name="link">
        <key name="value" />
      </key>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

Then repeat the steps:
- Update the template (make a small change like adding a space)
- Update the template translation
- Purge the SG cache
- Check if the links point to the right language

Best Regards,
Otto

agosto 27, 2025 a las 1:49 pm #17352221

rodrigoN-4

Hello!
When validating the page, we don't see any changes to the footer buttons.
If the page is in English, clicking those buttons should take me to an English page, but instead changes to a Spanish page.
What change should we make?
What solution do we apply to the settings to make it work?

agosto 27, 2025 a las 4:42 pm #17352625

rodrigoN-4

Hola, por favor su ayuda para resolver esto.
Podemos continuar por aquí en español verdad?
Saludos

agosto 27, 2025 a las 5:02 pm #17352680

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,

Sí, con gusto seguimos en español.

He seguido los pasos que te comentaba:
- Hacer un cambio imperceptible en el footer
- En WPML -> Translation Management editar la traducción del footer
- Luego de haber agregado el XML que te pasé, ahora aparecen para "traducir" las URL y los textos del elemento Icon List
- He traducido las URL para que apunten al idioma correcto (mira la captura de pantalla que adjunto)

Y ahora, por lo que puedo ver, textos y links del footer están correctos.

¿Podrías revisarlo y confirmarlo?

Saludos cordiales,
Otto

CleanShot 2025-08-27 at 13.58.53@2x.png
agosto 27, 2025 a las 7:54 pm #17352941

rodrigoN-4

Si perfecto, con eso se pudo solucionar
Lo que me he dado cuenta que WPML tiene varios pasos o trucos para poder lograr una correcta traducción, aun me estoy familiarizando su uso.

Adicional a esto por solicitarle ayuda nuevamente con el Header, pero esta vez la parte de los menús, abrí este caso: #17352497 pero aun no tengo respuesta.
El menú no se traduce y no dirige los enlaces a las paginas en inglés, solo en español.
Revisé en Apariencia - Menús, y en inglés al seleccionar que el menú se muestre en la cabecera, funciona en la pagina en inglés elimina el boton para seleccionar el idioma

Por favor me puede ayudar con esto?

agosto 27, 2025 a las 9:09 pm #17352996

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,

Genial, me alegro que este resuelto.

Entiendo que puede ser algo complejo al principio. Y además el builder Kubio no está en nuestro listado de plugins compatibles, eso hace que se agreguen algunos pasos extra. Pero estamos aquí para ayudarte.

Cierro este ticket y ya he tomado el otro que has creado. Te contesto allí lo antes posible.

Saludos cordiales,
Otto

agosto 27, 2025 a las 10:53 pm #17353028

rodrigoN-4

Gracias, aunque veo que me cerraron el ticket con el numero que menciono
Sabe si de alguna manera está abierto?
O si no está este otro abierto que tampoco he tenido respuesta.
A la espera de sus comentarios, gracias.

agosto 27, 2025 a las 10:54 pm #17353029

rodrigoN-4

Me refiero a este otro número de ticket: #17352949

agosto 27, 2025 a las 10:58 pm #17353032

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,

Te he contestado en este ticket:
https://wpml.org/es/forums/topic/corregir-la-visualizacion-del-menu-en-el-header-cuando-la-pagina-esta-en-ingles-o-espanol/

Seguimos allí 🙂

Saludos cordiales,
Otto