Skip to content Skip to sidebar

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

Problem:
The client created English translations for their website pages but when selecting the English language via the language switcher, the pages continue to display in Spanish.
Solution:
1. Direct Access Check: Confirm if accessing the English homepage directly via https://www.mansiondepapilio.com/en/ displays the page correctly. This helps determine if the issue is specifically with the language switcher.
2. Language Switcher Configuration: Ensure the language switcher is correctly configured by checking under WPML > Languages. Verify settings for Menu language switcher, Widget language switcher, and ensure they are properly added to your site (e.g., in the header, footer, or sidebar).
3. Permalinks: Refresh your permalink structure by navigating to Settings > Permalinks and clicking the 'Save Changes' button without making any changes.
4. Increase WP_MEMORY_LIMIT: Increase the WP_MEMORY_LIMIT to at least 256M. Follow the instructions on how to do this at increasing your site's memory limit.

If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your case, we recommend opening a new support ticket. Additionally, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum 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 1 reply, has 2 voices.

Last updated by Ilyes 1 year, 10 months ago.

Assisted by: Ilyes.

Author Posts
June 18, 2024 at 8:29 pm #15750879

patricioZ

Antecedentes del problema:
I created the English translations of all my pages on my site hidden link. I'm trying to make the English translation show when I click on the English icon.

Síntomas:
When I choose the English option, it keeps showing the Spanish version.

Preguntas:
Why does the English translation not show when I click on the English icon?

June 19, 2024 at 12:20 am #15751249

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Thank you for contacting WPML support team,

There could be multiple causes for this behavior, namely :

1- When I access the homepage in English directly from this link it works fine : hidden link
Does that mean this occurs when you change the language using the language switcher?

2. Language Switcher Configuration
Ensure the language switcher is correctly configured:

Go to WPML > Languages.
Check the Menu language switcher, Widget language switcher, and any other language switchers you might have.
Verify that the switcher is set to show the languages you need and is properly added to your site (e.g., in the header, footer, or sidebar).

3. Permalinks
Sometimes permalink issues can cause this problem. To refresh permalinks:

Go to Settings > Permalinks.
Without making any changes, click the Save Changes button. This refreshes the permalink structure.

4. I recommend increasing your WP_MEMORY_LIMIT value to at least 256M (You currently have 40M)
Please follow this documentation to learn how to increase it :
https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#how-to-increase-your-sites-memory-limit

Best,