Problem: When opening the website in Arabic, some dynamically generated CSS files are not loading, resulting in 404 errors. These files load correctly in English. The issue affects the frontend layout and styles specifically in the Arabic pages. Solution: First, try the workaround suggested here: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/. If the issue persists, perform the following steps: 1. Update the PHP and MySQL versions on your server to supported, stable versions. 2. Temporarily deactivate all plugins except for WPML to check for possible conflicts. Ensure you back up your site before making these changes.
If these steps do not resolve the issue, or if the solution seems outdated or irrelevant 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 problems continue, please open a new support ticket with us for further assistance.