Problem: You are testing an updated website design and using WPML, but encountering an issue where WPML String Translation is attempting to write .mo files to an incorrect folder path: /var/www/html/wp-content/languages. You need to know the correct location for the language folder and how to change the path where WPML writes .mo files. Solution: First, verify the current path to your /wp-content/languages folder and ensure that this folder has the necessary permissions. We recommend setting the permissions as described in our documentation. If you're experiencing issues with WPML not being able to write MO files for String Translation, please refer to our FAQ on this topic at https://wpml.org/faq/cannot-write-mo-files/.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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 further assistance is needed, please open a new support ticket at our support forum.