Home›Support›English Support›[Resolved] New page and its widgets translated but language swticher not display other languages
[Resolved] New page and its widgets translated but language swticher not display other languages
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to see translations for a specific widget in the language switcher, despite having translated the widget and other content. The widget content was only displaying in Greek, regardless of the selected language. Solution: We suggested several steps to resolve the issue: 1. Ensure that translations are not saved in 'Draft' mode and apply any pending translation reviews in bulk via WPML > Translations. 2. Assign the widgets to 'All languages' and use WPML > String Translation to translate them. More details can be found here: Translating Widgets Using String Translation 3. Increase the WordPress memory limit to at least 256MB by adding the following code to the wp-config.php file:
define ('WP_MEMORY_LIMIT', '256M');
This code should be placed just before the comment:
// That's all, stop editing! Happy blogging.
4. After increasing the memory limit, save the widget settings again and check if the issue is resolved.
If these steps do not resolve the issue or if the solution becomes outdated, we 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 at WPML support forum for further assistance.
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.
<b>Background of the issue: </b>
My page translated and corresponding widgets translated hidden link but in Language switcher in drop down no other languages are NOT displayed hidden link
<b>Symptoms: </b>
Language switcher in drop down does not display other languages.
<b>Questions: </b>
Why is the language switcher not displaying other languages on my site hidden link?
How can I fix the issue with the language switcher not showing other languages despite translating the page and widgets?
I've chosen to translate my website manually hidden link although i have credits i am afraid to use them not to change any part of my website without my permission or to charge me parts of translation of any demo content.
This page of my website which is not display other language in dropdown is a part of widgets loading in it hidden linkhidden link
I've transleted this entired page in al widgets hidden link but i see only Greek language in language swticher.
Am i missing something from settings or wpml configuration?
Does this only occur, if the [accordion] shortcode is used?
Which plugin is responsible for this shortcode? If this shortcode is based on custom code from your custom theme, please provide me with a code example of how this shortcode is constructed.
I can further offer a WPML test site on which you could recreate the issue for further investigation.
Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256MB? WPML requires a minimum of 128M.
Your current values are:
PHP Memory Limit 384M
WP Memory Limit 40M
You need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the WordPress root directory.
Add this code to the wp-config.php file to increase WordPress memory:
define ('WP_MEMORY_LIMIT', '256M');
Add this just before this comment:
// That's all, stop editing! Happy blogging.
You can see the current values under WPML > Support > WordPress.
These settings can be restricted directly by your hosting provider. Therefore, I recommend contacting them and asking them to change them directly if the changes are not adopted immediately.
Now, once the limit is set, save your widgets settings page again and revise if this solved the issue.
Pe Short info is widget of Theme but the other is Custom html widget default WordPress plugn i think so hidden link
You guide me to translate from String Translation "Did you already try to assign the widgets to "All languages" and translate it with WPML > String Translation?" but the rest of website translated with the same way widget one by one for each language.
Please help me out how we can resolve this issue with Language swticher drop down.
I 've installed all provided with Theme required and recommended plugins.
Pixelemu Display Widgets is necessary for webiste and it is enabled hidden link
If i will disable it may be my website will break in many pages because is responsible to show widgets to choosen pages.
Please verify my widget settings on the test site.
I am using one widget for both languages and translated it with String Translations and this seems to work as expected, but I needed to search some strings first at WPML > String Translation > Translate texts in admins screens.
Using one widget per language shows translations on my test but leads to the unexpected result, that the widgets are displayed twice. This is why I can not recommend this method and you should report this to the theme author.
Instead, please use one widget for both languages, assign the widget to both languages and translate it with WPML > String Translation.
I 've tried also to display widget in all languages and translated in String translation hidden link and in widget area hidden link but with no sucess.
Everything i 've tried cannot solve this issue with language switcher in other languages.
The only difference with this page hidden link in compare with other pages is that is a hidden link, it is not displayed in menu. I don't know if that effects this issue with language switcher.
Regards
Agathon
Agathon confirmed that the issue was resolved on 2024-06-25 16:10:28.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.