Background of the issue:
I am trying to ensure that the Language Toggle Switcher is visible on both the English and Spanish versions of my website pages. I have translated a page into Spanish using WPML.
Symptoms:
The Language Toggle Switcher is not showing up on the English page, but it is visible on the Spanish page.
Questions:
Why is the Spanish page showing the English Toggle Language Switcher but the English page is not showing the Spanish Toggle Language Switcher in the header?
Thank you for contacting WPML Support. I visited your site and checked a few pages, the language switcher appears correctly in the site header. If you're experiencing the issue on a specific page, please try the steps below and see if that resolves it:
1. The current WP Memory Limit on your site is 40MB. The WP memory limit needs to be increased, it's different from PHP memory. PHP memory is fine but WordPress uses 40MB as default in your site. The minimum requirements for WPML are 128MB: https://wpml.org/home/minimum-requirements/
Please add this line to your wp-config.php file to increase WP memory, wp-config.php file is located in the root of your WP install:
You can add it anywhere in your file. I recommend placing it right before the following line:
/* That's all, stop editing! Happy blogging. */
2. Please open the default language page in Edit mode.
3. Make a small change, for example, add a space or + sign in your page/post title.
4. Update the page by pressing the “Update” button.
5. Now, please remove that small change that did in step #3.
6. Update the page again.
7. Now, please try to open the translated page in WPML Translation Editor/WP Editor and make sure the translation is 100% complete and the status of the page is set as Published and not Draft.
8. Clear all sorts of site/server/CDN cache and see if this resolves the issue.
If the issue persists, please share the frontend page link where I can see the issue.
Thank you
The topic ‘[Closed] Language Toggle Menu Missing for Translated Page’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.