{"id":8933,"date":"2011-12-14T20:49:25","date_gmt":"2011-12-14T20:49:25","guid":{"rendered":"http:\/\/wpml.org\/?post_type=faq&#038;p=8933"},"modified":"2023-09-06T11:39:16","modified_gmt":"2023-09-06T11:39:16","slug":"language-configuration-problems","status":"publish","type":"faq","link":"https:\/\/wpml.org\/th\/faq\/language-configuration-problems\/","title":{"rendered":"How can I troubleshoot language configuration problems in WPML?"},"content":{"rendered":"<p class=\"lead\">You can troubleshoot language configuration problems in WPML by enabling a PHP debug file, resetting and reactivating WPML, going through the language setup again, or getting help from our support team if these steps don&#8217;t resolve the issue.<\/p>\n<h2>1. How do I enable a PHP debug file?<\/h2>\n<p>When you activate WPML, it creates language tables in your database.\u00a0We need to know if anything went wrong during that critical initialization phase.\u00a0For that, we&#8217;ll need to see a full log of the PHP errors and warnings.<\/p>\n<p>Follow the steps for <a href=\"https:\/\/wpml.org\/documentation\/support\/debugging-wpml\/\">debugging WPML<\/a>. You need to enable the error log file and not the error output to the screen.<\/p>\n<p>If this file becomes loaded with issues, don&#8217;t panic. You&#8217;re seeing every notice, warning and (unfortunately) errors created by WordPress, your theme and all plugins. We&#8217;ll know what to get from that file.<\/p>\n<h2>2. How can I reset WPML and reactivate it?<\/h2>\n<p>Now that you&#8217;re logging errors, let&#8217;s start from scratch.<\/p>\n<p>Go to <strong>WPML<\/strong> \u2192 <strong>Support<\/strong> page. Open the link that leads to <strong>Troubleshooting<\/strong>page. At <strong>Troubleshooting <\/strong>page click on <strong>&#8220;Reset all language data and deactivate WPML&#8221;<\/strong>. There&#8217;s a safely checkbox above that button. This isn&#8217;t a toy button. It&#8217;s going to completely reset WPML and permanently delete language information from your site. Do this only if you haven&#8217;t configured WPML and you don&#8217;t have any translations yet.<\/p>\n<p>After this, go again to Plugins and enable WPML.<\/p>\n<h2>3. What should I do if the error persists when repeating the languages setup?<\/h2>\n<p>If you&#8217;re seeing the same error as before, do one more thing &#8211; <strong>check for any JavaScript errors<\/strong>.<\/p>\n<p>WPML&#8217;s language configuration screen uses JavaScript. If anything in your site is causing a JavaScript error, you&#8217;ll notice it here.<\/p>\n<p>You can use Chrome or Firefox. Click on <strong>Tools \u2192 JavaScript console<\/strong> and reload this page. The console should be clean. If there&#8217;s any message, let us know exactly what it says.<\/p>\n<h2>4. How can I get help from WPML?<\/h2>\n<p>Go to our <a href=\"http:\/\/wpml.org\/forums\">technical forum<\/a>, start a new thread, tell us which versions of WordPress and WPML you&#8217;re using, what other plugins are active and what&#8217;s your theme. Also, tell us about your type of web server.<\/p>\n<p>Even if you see similar threads, please start your own. Everyone has a different set of plugins and different theme and problems are different. We want to help you with your problem, not someone else&#8217;s.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can troubleshoot WPML language issues by enabling PHP debug, resetting WPML, redoing language setup, or seeking support if problems persist.<\/p>\n","protected":false},"author":2,"featured_media":0,"menu_order":10,"template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"ep_exclude_from_search":false,"footnotes":""},"faq-category":[26133],"class_list":["post-8933","faq","type-faq","status-publish","hentry","faq-category-troubleshooting"],"_links":{"self":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/faq\/8933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":6,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/faq\/8933\/revisions"}],"predecessor-version":[{"id":14351889,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/faq\/8933\/revisions\/14351889"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/media?parent=8933"}],"wp:term":[{"taxonomy":"faq-category","embeddable":true,"href":"https:\/\/wpml.org\/th\/wp-json\/wp\/v2\/faq-category?post=8933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}