This thread is resolved. Here is a description of the problem and solution.
Problem:
You are using WPML on your site and are trying to exclude certain elements from being removed by the 'Remove Unused CSS' feature in the WP Rocket plugin. You are experiencing issues on the front end with the second language when using this feature.
Solution:
We recommend contacting the WP Rocket support team directly for assistance with configuring their settings to work well with your site, as this issue involves a third-party plugin and falls outside our scope of support.
If this solution is outdated or does not apply 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. Should you need further assistance, please open a new support ticket with us.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.