Deleting Languages and Plugin Data By Doing a WPML Reset

In some cases, you may want to delete translations created with WPML and remove plugin data for a fresh start. When website plans change, you might make big updates to your default language content. Or, you might decide not to use a secondary language anymore. In these situations, you may want to remove all WPML data from both the front-end of your WordPress site and your website's database. This includes tables and translations. By doing this, you take your website back to how it was before you used WPML. Then, when you reinstall the plugin, you can Then, when you reinstall the plugin, you can start with a clean slate. To do this, you need to follow a 3-step process. It is important that you follow this exact order for these steps.
  • Remove the secondary language(s) and any existing translations
  • Delete the remaining MO and PO files for the removed languages
  • Do a WPML reset to remove tables from the database and deactivate the plugin
Step 1: Remove the secondary language(s) and all existing translations WPML offers the option to remove secondary languages from your site. When you remove the secondary language(s), you delete all existing content in that language from your site's database.
  1. Go to WPML → Languages. In the Sites Languages section. Remove the secondary language(s) of your choice.
  2. A table with the deactivated languages appears. Click on the delete icon to remove all the content you have translated into your secondary language from the database.
Important.
  • In some cases, this feature might not delete translations of taxonomy terms.
  • This feature is available in versions WPML 4.5.9 and above.

Step 2: Delete the MO and PO Files for the Removed Language

After you remove a language and its translations from your database, other themes and plugins on your site may continue downloading translation files in After you remove a language and its translations from your database To prevent this from happening, you need to delete any leftover MO and PO files for that language.
  1. Access your website using an FTP Tool such as FileZilla.
  2. Go to your site's ... /wp-content/languages/plugins/ folder.
  3. Delete the MO and PO files ending with the language code of the language you want to delete. For example, if you removed the Spanish language (ES) with the Spanish locale (es), the language files would end with the language code of the language you want to delete. the language files would end with -es_ES.mo and -es_ES.po.
To delete theme translations, open the themes folder in ... /wp-content/languages/ and follow the instructions from the third step above.

Step 3: Do the WPML Reset

The final step is to reset WPML. This removes WPML tables from the site's database and deactivates the plugin. The WPML reset cannot All translations you have sent to remote translation services will be lost. We recommend that you create a backup of your site before resetting WPML.
  1.  Go to WPML → Support and click the Troubleshooting link.
  2. In the Reset section of the Troubleshooting page, select the I am about to reset all translation and language data checkbox. Thenclick the Reset and deactivate WPML button.
Clicking the button to reset and deactivate WPML
After completing all these steps, WPML will be reset and deactivated, effectively removing its data from your site. When you're ready to start translating again, you will need to reinstall and configure WPML.
912sy.com download resources are from the network, only for learning and reference use, the copyright belongs to the original author, do not use for commercial purposes, please remove yourself within 24 hours after downloading.
If the content published on this site inadvertently violates your rights and interests, please contact us and the site will be deleted within one business day.If you encounter any problems please contact customer service QQ:2385367137
912sy " Deleting Languages and Plugin Data By Doing a WPML Reset