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: Exception
This topic contains 6 replies, has 2 voices.
Last updated by dennisv-9 1 year, 7 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
April 16, 2023 at 10:37 pm #13482667 | |
dennisv-9 |
I am trying to: I expected to see: Instead, I got: |
April 17, 2023 at 2:08 am #13483137 | |
dennisv-9 |
Maybe this is because redis cache? |
April 18, 2023 at 6:40 am #13492809 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I understood the issue you're having while creating a Language Switcher. In order to add a language Switcher to the Menu, you need to create a menu for your site from the Appearance > Menus page. Otherwise, the option to create the Menu language switcher will appear disabled. - More information on creating a Menu language switcher can be found here: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/#where-to-display-language-switcher If you have created the Menu already from the Appearance > Menus section and still the Menu language switcher is not getting enabled, then you should check by clearing the caches. If you are using the Redis Object cache and other caching plugins on your site, then kindly clear the caches and check if that fixes the issue. Additionally, if you want, you can create a custom language switcher from `WPML > Languages > Custom Language Switcher` and add that language switcher to the menu using Shortcode. Kindly check the documentation below to get a clear understanding. Let me know if that helps or if you need further assistance in this matter. I will be happy to help. Best Regards, |
April 18, 2023 at 7:28 pm #13499115 | |
dennisv-9 |
i did all that before, what happens is that it all works fine but then withour any reason and even in test fase with plugins of or even while i am in the settings screen of wpml i save and refresh then there gone? i put them in again and save there allright, but say i do a translate links check of build a page.i go the the page frontside, everything looks ok. but when i refresh again (browser) and look at the menu the flags are gone, so i go back to wpml menu settings and giver the error you cannot add wpml to menu,create one first. so there gone. i do refresh or log of or whateven, there visable again but without the wpml flags so i do it all again then there there, REPEAT Also if i go to hidden link German translated pages and i click on a page its only giving the header and not the post, in egmondonline.nl/en it works standard egmondonline.nl (dutch) works also. so for instance: good Dutch Good UK: the first one is empty, please advise. |
April 19, 2023 at 1:11 pm #13504935 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, 1) Thanks for sharing more details regarding the issue with the language switcher. From the information, It seems caching is interfering with the Language switcher and preventing it to appear in the Frontend. Would you please try disabling the caching for the Language Switcher template? I hope it will help to solve the issue. 2) Regarding the other issue that you have mentioned, it seems that some elements haven't been translated into the German language yet. Would you please open that page in the default editor and check if the German translation is completed or not? If it is completed, then you'll see a Pencil Icon beside the German. Otherwise, you'll notice Update or Gear Icon. Please check this screenshot(hidden link) for a better understanding. It is also suggested to clear the caches from the site after making the changes. Hope it will help. Please note that to maintain clarity and organization, it is important to keep discussions focused on one issue per thread. Therefore, I will focus on one problem, and you may indicate which issue requires assistance in this particular thread(1 & 2 included.). If you need assistance with other issues, I can create a new thread to address them. I hope you can understand the matter. Looking forward to your response. Best Regards, |
April 20, 2023 at 2:33 pm #13512367 | |
dennisv-9 |
it was disabled but i enable/disable it/ also did all the other ones.. |