Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

The client's Spanish landing page redirects to the English checkout page instead of the Spanish checkout page when a logged-out visitor clicks the signup link.

Solution:

We recommend checking if the checkout button's link can be translated using WPML String Translation. Sometimes, the necessary strings are recognized but not yet associated with the String Translation panel. You should visit WPML>>String Translation and click on the 'Not seeing strings you are looking for?' link. Search for the 'register-page-url' string in the 'Admin Texts Translation' screen and if found, add it for translation. After translating, ensure to clear all types of caches to see the changes.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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.

Tagged: 

This topic contains 6 replies, has 0 voices.

Last updated by kyleM-11 2 weeks, 6 days ago.

Assisted by: Bigul.

Author Posts
March 30, 2025 at 3:14 am #16875980

kyleM-11

Background of the issue:
Estoy intentando redirigir el botón 'sign up' en la página de inicio, que es un botón 'add to cart', al carrito en español. El enlace actual es: hidden link. La página del carrito de WooCommerce está traducida, pero el botón 'Sign Up', incluso en español, redirige al carrito en inglés. Quiero que redirija al carrito en español cuando esté en la versión en español de la página de inicio/ventas.

This was originally written in english - I don't know why it got translated to spanish.

Symptoms:
El botón 'Sign Up' redirige al carrito en inglés en lugar del carrito en español, incluso cuando se está en la versión en español de la página.

Questions:
¿Cómo puedo redirigir el botón 'Sign Up' al carrito en español cuando estoy en la versión en español de la página de inicio?

April 2, 2025 at 7:47 am #16885660

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you resolve the issue. Sorry for the late response because of the holidays.

I have a couple of requests. Because we are unable to reproduce the issue exactly on the site. Refer to the attached images for more details.

1) Please let us know the exact steps to reproduce the bug on your site

2) Please share a couple of screenshots for a better understanding of the bug

To help you faster, I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us: http://wpml.org/faq/provide-debug-information-faster-support/

--
Thanks!

Bigul

2025-04-02_13h15_31.png
2025-04-02_13h09_44.png
2025-04-02_13h08_46.png
April 2, 2025 at 8:41 pm #16889000

kyleM-11

The SPANISH landing page redirects to the ENGLISH checkout page.

The user has to manually switch back to spanish.

How can the checkout button in the Spanish landing page version go to the SPANISH checkout page?

hidden link

April 3, 2025 at 1:07 pm #16892484

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the details. We hope the Sign up button is part of the site header template; if so, please check that you can translate the template (from WPML>>Translation Management's *Template* section), including the button text and links.

Refer to the following documentation for more details, and let us know your feedback.

https://wpml.org/documentation/plugins-compatibility/elementor/

https://wpml.org/documentation/translating-your-contents/

https://wpml.org/faq/how-to-translate-links/

--
Thanks!

Bigul

April 6, 2025 at 2:16 am #16900654

kyleM-11

No, the header is part of the THEME header, not created by Elementor.

The button is controlled by theme settings.

theenglishcollective.com BuddyBoss Settings ‹ The English Collective — WordPress 2025-04-05 22.1.png
April 7, 2025 at 9:10 am #16903072

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Please check if you can translate it using WPML String
Translation or not.

In some cases, those strings may have been recognized but not yet associated with the String Translation panel for the translation. Please visit WPML>>Utilities and click on the *Not seeing strings you are looking for?* link at the bottom of the page.

Then search for the missing strings in the *Admin Texts Translation* screen and check whether it is listed or not. If so, please add it for translation and translate it.

Refer to these docs for more details:

https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#register-admin-and-setting-strings-for-translation

hidden link

--
Thanks!

Bigul

April 7, 2025 at 7:19 pm #16906034

kyleM-11

I need to clarify - the link is a WOOcommerce "add to cart" link. Please take a closer look at the site and flow. And attempt to recreate the original issue as a logged out user and provide a solution.

The issue, again, is a logged out visitor, once they switch to the Spanish version of the site, get routed to the ENGLISH checkout when they click the signup link. They should be routed to the SPANISH checkout. I don't know how to make that happen.

April 8, 2025 at 5:53 am #16906770

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Please fill in the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our privacy information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

April 10, 2025 at 6:58 am #16916748

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the login information. I am getting the expected results after adding the *register-page-url* string for translation, translating it, and clearing all types of caches.

https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#register-admin-and-setting-strings-for-translation

Refer to the attached images for more details, and let us know your feedback.

--
Thanks!

Bigul

2025-04-10_12h07_59.png
2025-04-10_12h04_42.png
April 14, 2025 at 11:23 pm #16931366

kyleM-11

Thank you very much! That was the missing piece.