{"id":22,"date":"2017-04-20T09:34:13","date_gmt":"2017-04-20T09:34:13","guid":{"rendered":"https:\/\/laikalaikacoding.wordpress.com\/?p=22"},"modified":"2017-04-20T09:34:13","modified_gmt":"2017-04-20T09:34:13","slug":"wpml-language-switcher-not-showing-all-languages","status":"publish","type":"post","link":"https:\/\/voneff.de\/en\/wpml-language-switcher-not-showing-all-languages\/","title":{"rendered":"WPML: Language Switcher Not Showing All Languages"},"content":{"rendered":"<p>I encountered the following problem: I was building a multi-lingual website with three languages, powered by the popular <a href=\"https:\/\/wpml.org\/?aid=118615&amp;affiliate_key=0l5fMLNwA3yl\" target=\"_blank\">WPML plugin<\/a> (affiliate link). I had the regular language switcher set up in a menu. Now, when I was looking at pages in the main language \u2013 in this case English \u2013 the two other languages, Romanian and Russian, were elegible in the language switcher. Whenever though I switched the language to Romanian, the Russian selector went missing. This wasn&#8217;t the case the other way around, though: Looking at Russian pages, all three languages showed up in the switcher.<\/p>\n<p>The fix was quite easy: I only had to clear the WPML cache. In order to do this I had to navigate to WPML &gt; Support &gt; Troubleshooting in the WordPress dashboard. Here, under the heading \u201cClean up&#8221; was the option to \u201cClear the cache in WPML&#8221;. This was all it took \u2013 just remember to backup your database beforehand.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I encountered the following problem: I was building a multi-lingual website with three languages, powered by the popular WPML plugin (affiliate link). I&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_seopress_news_disabled":"","_seopress_video_disabled":"","_seopress_video":[],"_seopress_pro_schemas_manual":[],"_seopress_pro_rich_snippets_disable_all":"","_seopress_pro_rich_snippets_disable":[],"_seopress_pro_schemas":[],"wpf_show_in_dewp_planet_feed":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"footnotes":""},"categories":[3],"tags":[24,66,128,132],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-code-is-poetry","tag-cache","tag-language-switcher","tag-wordpress","tag-wpml"],"acf":[],"_links":{"self":[{"href":"https:\/\/voneff.de\/en\/wp-json\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/voneff.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/voneff.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/voneff.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/voneff.de\/en\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":0,"href":"https:\/\/voneff.de\/en\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"wp:attachment":[{"href":"https:\/\/voneff.de\/en\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/voneff.de\/en\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/voneff.de\/en\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}