Skip Navigation

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

Problem:
You are using WPML with Themeco Cornerstone and experiencing an issue where the site does not maintain the selected language when users click on internal links. Instead, the language reverts to the default language on the visited page.
Solution:
We have confirmed that if you are manually translating the content, WPML cannot automatically translate the links. The upcoming WPML 4.7 will introduce a new approach to handle this feature, but it will not support this specific case of maintaining language persistence across manually translated links. If you would like, we can test this using the Advanced Translation Editor (ATE). Please let us know if you want us to proceed with testing, considering that you will be manually translating these pages in Cornerstone.

Please note that this solution might be irrelevant if it is 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 issue persists, please open a new support ticket at WPML support forum.

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 0 replies, has 0 voices.

Last updated by Bruno Kos 1 week, 3 days ago.

Assisted by: Bruno Kos.

Author Posts
January 7, 2025 at 12:55 pm

christinS-2

Background of the issue:
I am using WPML with Themeco Cornerstone on my site hidden link. I want the site to maintain the selected language when users click on internal links.

Symptoms:
When a language is selected through WPML and an internal link is clicked, the language reverts to the default language on the visited page.

Questions:
Is it normal that the language is changed when the country code is not included in the hyperlink?
Should the language be the same and the right translated version of the page be shown?

January 7, 2025 at 2:41 pm
January 8, 2025 at 12:46 pm #16573402

Bruno Kos
Supporter

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

Timezone: Europe/Zagreb (GMT+01:00)

I’ve confirmed with our compatibility developers that if you're manually translating the content, WPML cannot automatically translate the links. The upcoming WPML 4.7 will introduce a new approach to handle this feature, but it still won't support this specific case.

We can test this using the Advanced Translation Editor (ATE) if needed. Let me know if you'd like us to proceed with testing, considering that you’ll be manually translating these pages in Cornerstone.