{"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\/zh-hans\/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,"_uag_custom_page_level_css":"","ep_exclude_from_search":false,"footnotes":""},"faq-category":[26133],"class_list":["post-8933","faq","type-faq","status-publish","hentry","faq-category-troubleshooting"],"spectra_custom_meta":{"_edit_last":["578773"],"_edit_lock":["1708520215:538393"],"_icl_translator_note":[""],"bbps-topic-tags":["a:0:{}"],"_views_template":["0"],"_alp_processed":["1694000357"],"_subscription_coupon_product_id":["0"],"inline_featured_image":["0"],"_wpml_word_count":["417"],"_yoast_wpseo_content_score":["90"],"_wpml_media_duplicate":["0"],"_wpml_media_featured":["1"],"_oembed_1e02e02ee671c61d8638766a0ee1cb8e":["<iframe title=\"WPML Advanced Translation Editor\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/TmmyU6MtXY8?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_1e02e02ee671c61d8638766a0ee1cb8e":["1594592385"],"_wpv_contains_gutenberg_views":[""],"_wpml_location_migration_done":["1"],"faq_order":["5"],"wpcf-faq-category":["4"],"_oembed_6fb427da043bf71e85cff9f56216345b":["<iframe title=\"Using WPML to translate your pages built with Elementor.\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/uyeK177B9aM?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_6fb427da043bf71e85cff9f56216345b":["1608517117"],"_oembed_b9ed4048f72ad6c7db9e194b36b2ddd7":["<iframe title=\"Add a Custom Language in WPML\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/gbdbEOQA0Kw?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_b9ed4048f72ad6c7db9e194b36b2ddd7":["1617184580"],"_yoast_wpseo_estimated-reading-time-minutes":[""],"_oembed_6eeaaf76264d07834a5024ecc691d2d0":["<iframe title=\"Media Translation for WPML 4.0\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/8kvqMTy3r2g?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_6eeaaf76264d07834a5024ecc691d2d0":["1622985438"],"_oembed_bbf56b1d4c25ce11481afba39f176f85":["<iframe title=\"Using WPML to translate content created with page builders\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/MSqNzrdPMkE?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_bbf56b1d4c25ce11481afba39f176f85":["1643196540"],"_oembed_9596c0d9095e7ce9cc90624324ef4422":["<iframe title=\"Duplicator For WordPress Quick Overview\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/yZ7pHmR9JC8?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_9596c0d9095e7ce9cc90624324ef4422":["1643196540"],"_oembed_12570cf8030926800bac0f1584e1e153":["<iframe title=\"How to use the backup wizard in cpanel\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/eS-tCkc-gm0?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_12570cf8030926800bac0f1584e1e153":["1643196540"],"_oembed_1c0ef2e069ab1e666be8a1bac83a42ee":["{{unknown}}"],"_oembed_e9018e6807d31b4505b7ad464275fdce":["<iframe title=\"How to copy multiple accounts from another server to your WHM server using SSH\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/C6ro9h0qowU?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_e9018e6807d31b4505b7ad464275fdce":["1643196540"],"_oembed_9052213bd50132682bbabb79e50bace9":["<iframe title=\"How to use FTP to upload files to WordPress for Beginners\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/_nDQz1JQfYA?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_9052213bd50132682bbabb79e50bace9":["1643196540"],"_oembed_cfcc8d32f359dd000173b240cccb4392":["{{unknown}}"],"_oembed_d812396ab00eaf7ff0dfe458721807c2":["<iframe title=\"Manual update to WPML 3.2\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/4W2S7_pKOeI?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_d812396ab00eaf7ff0dfe458721807c2":["1647325904"],"_oembed_f56bf1c5a64a315a94e4cbf7a197b2b0":["<iframe title=\"Integration between Astra theme and Toolset\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/z0GrsNVmFjo?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_f56bf1c5a64a315a94e4cbf7a197b2b0":["1652352660"],"_oembed_3939c40f7015143bfc3cc2e7e9f1d417":["<iframe title=\"Chrome WordPress Seach\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/0LzBMUJnN1w?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_3939c40f7015143bfc3cc2e7e9f1d417":["1654614521"],"_oembed_5b878497fa28c407745addbe2627459e":["<iframe title=\"Language switcher preview in WPML 3.6\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/NEwhylLpnJ4?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_5b878497fa28c407745addbe2627459e":["1670771586"],"_yoast_wpseo_wordproof_timestamp":[""],"_yoast_wpseo_primary_faq-category":[""],"_uag_css_file_name":["uag-css-8933.css"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"Amir","author_link":"https:\/\/wpml.org\/zh-hans\/author\/amir\/"},"uagb_comment_info":0,"uagb_excerpt":"You can troubleshoot WPML language issues by enabling P...","_links":{"self":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/faq\/8933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":6,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/faq\/8933\/revisions"}],"predecessor-version":[{"id":14351889,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/faq\/8933\/revisions\/14351889"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/media?parent=8933"}],"wp:term":[{"taxonomy":"faq-category","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/faq-category?post=8933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}