Problem: The client is developing an e-commerce site using WPML Multilingual CMS, WPML String Translation, and WooCommerce Multilingual & Multicurrency. They encountered an issue where Ajax buttons do not work in the Spanish store, which is the default language. The buttons work fine in English. Disabling WPML String Translation resolves the issue, suggesting a compatibility problem between the Porto theme (updated) and WPML String Translation (updated). Solution: We recommended the client to: 1. Create a complete backup of the site or set up a staging site. 2. Update any outdated plugins or themes. 3. Clear any existing cache. 4. Deactivate all plugins, including WPML plugins. 5. Activate a default WordPress theme, such as Twenty Twenty. 6. Reactivate WPML plugins, WooCommerce, and WooCommerce Multilingual & Multicurrency. 7. If the problem disappears, reactivate the theme and other plugins one by one to identify the culprit. Additionally, our second-level specialists suggested that the issue might be due to a translated file that shouldn't be. They advised deleting or renaming the .mo files one by one in the
wp-content/languages/wpml
directory to see which one might be causing the issue. After modifying the files, the site should be loaded on the frontend to regenerate the .mo files.
If this solution does not resolve the issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please do not hesitate to open a new support ticket at WPML support forum.