Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 6 replies, has 2 voices.

Last updated by Nicolas V. 1 year, 10 months ago.

Assisted by: Nicolas V..

Author Posts
August 8, 2023 at 11:18 pm #14172453

cristianE-4

Tell us what you are trying to do?
Te website is tranlated from English to Spanish and works fine

Is there any documentation that you are following?
I have followed WPML tutorial

Is there a similar example that we can see?
Currency switcher doesnt change when clicking on the home language. It seems that both URL are pointing to the same domain address.

What is the link to your site?
hidden link that shoul be the home language in English When I lick back to English the URL does no change and stays as hidden link

Screenshot_21.png
Screenshot_20.png
Screenshot_19.png
August 9, 2023 at 8:12 pm #14178225

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum. I think you're talking about the language switcher in your header here. Usually issues with switcher links are related to low PHP memory, but I can see that your memory is already at 256M. Let's try to upgrade to 512M.
- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */

/* Memory Limit */
define( 'WP_MEMORY_LIMIT', '512M' );

Then go to "WPML > Support > Troubleshooting (link)" and run the following options
- "Set language information"
- "Remove ghost entries from the translation tables"
- "Clear the cache in WPML"
- Disable/Enable cache for language switcher

August 11, 2023 at 8:09 pm #14190675

cristianE-4

Realicé los cambios indicados, primero aumentando la memoria en el wp-config a 512 y luego fui a WPML/Support/Troubleshooting y realicé los cambios indicados.
El shortcode de idiomas sobre el menú principal en el header se mantiene igual. No hay cambios

Screenshot_24.png
Screenshot_23.png
August 14, 2023 at 11:21 am #14196907

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hola,

Me gustaría solicitar un acceso de administrador temporal (wp-admin), preferiblemente a un sitio "staging" de prueba donde se ha replicado el problema, para que pueda investigar más a fondo?

He activado un campo privado para tu próxima respuesta donde podrás proporcionar esa información de forma segura. No comparta tu propia cuenta de administrador, crea una nueva que podrás eliminar luego.

IMPORTANTE: antes de continuar, haga una copia de seguridad de tu sitio y base de datos.

August 17, 2023 at 11:34 pm #14249117

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hola,

Gracias por el acceso. Cambié el Language Switcher de Elementor por un widget "Shortcode" y puse el shortcode del Language Switcher de WPML.

Ref: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/

PS:
1. Deje el LS de Elementor pero le di click al ojo para que no sea visible en el frontend (ver captura).
2. No se cual es la causa del error con el SL de Elementor, quizás es porque tienes también TranslatePress activado. No es recomendado de tener 2 plugins que cumplen la misma función (puede generar conflictos).

screenshot-2023.08.17-18_29_04.png
August 22, 2023 at 8:13 pm #14273515

cristianE-4

Gracias Nicolás pero ahora si me perdí. veo que ambos shortcodes están instalado en el home page y se que debo eliminra el más antiguuo que hasta donde yo leo dice que es el switcher de WPML. Luego si hago clic sobre el nuevo switcher, el sitio cambia a españao y eso está bien. Lo mismo que podía hacer hasta ahora, pero si presiono para volver al sitio en inglés no lo hace. Se queda en español. Por lo que veo en los dominios de ambas traducciones en style.min.css los direccionamientos son correctos.
Cómo lo corrijo...

Screenshot_25.png
August 23, 2023 at 2:01 pm #14278833

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hola Cristian,

Te dejo un video explicativo, no dudes si tienes preguntas: hidden link