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.
Tagged: Compatibility
This topic contains 2 replies, has 0 voices.
Last updated by Paola Mendiburu 1 week, 4 days ago.
Assisted by: Paola Mendiburu.
Author | Posts |
---|---|
February 18, 2025 at 12:38 pm #16718614 | |
cimpleA |
Background of the issue: Symptoms: Questions: |
February 18, 2025 at 1:59 pm #16719321 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Could you please import one of these pages here: You can use the import/export tool if needed: After importing, check if the CSS issue still occurs (by changing something in the original and updating the translation). If the issue doesn't happen there, please test the following on your site: 1. Deactivate Other Plugins 2. Switch to a Default Theme 3. Disable All Caching 4. Check File Permissions and Server Logs Let me know what you find after running these tests. |
February 19, 2025 at 1:35 pm #16724711 | |
cimpleA |
Hi Bruno, I imported a page and repeated the process from yesterday: See comparison here, last section with the button is the new one: I have note cleared any cache yet, in case you want to look into it first. Regards, |
February 19, 2025 at 2:34 pm #16725278 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Thank you very much for performing the test! I can see that only after clearing the CSS cache it works properly: In my opinion as well, this should happen automatically. This has been escalated to our Compatibility team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you |
February 24, 2025 at 7:13 am #16739042 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Can you please try the following: 1. Add the following code to your `functions.php` file to clear all caches when a translation is completed: if ( class_exists('FLBuilder') ) { add_action( 'wpml_pro_translation_completed', function( $post_id ) { if ( is_numeric( $post_id ) ) { \FLBuilderModel::delete_all_asset_cache( $post_id ); } else { \FLBuilderModel::delete_asset_cache_for_all_posts(); } // delete partials \FLBuilderModel::delete_asset_cache_for_all_posts( '*layout-partial*' ); }); } 2. Note that if you make a small CSS change on the original, you will need to resave the translation for the changes to be applied. Does it work? We will implement this change in our page builders core. |
February 25, 2025 at 11:24 am #16745266 | |
cimpleA |
I added a slightly adjusted version of your code to my code snippets, instead of adding the above in the functions.php. This seem to work for now, as long as i resave translation as you mention. Do I understand it correctly that this is a temporary fix, and will be resolved in the next wpml update? If so, do you have a estimate for when the update will be pushed live? |
February 26, 2025 at 7:04 am #16749160 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Yes, you understand correctly. This is a temporary workaround, and the issue is already being worked on. While I don't have an exact release date, I believe it could be resolved in the next minor WPML update. I can keep you updated once there's more concrete information on the release timeline. |
February 26, 2025 at 11:42 am #16750758 | |
cimpleA |
Thank you for confirming. Looking forward to the update, thanks! 🙂 |
February 26, 2025 at 12:50 pm #16751017 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
This issue has been escalated to WPML developers. I will keep this thread updated as soon as I get any new information from them! |
June 19, 2025 at 11:46 am #17150373 | |
cimpleA |
Hi Bruno, I just noticed in the release notes for update 4.7.4 that this was mentiond: https://wpml.org/version/wpml-4-7-4/ Does this mean that the problem we discovered as discussed above is solved? |
June 24, 2025 at 8:11 am #17163490 | |
Paola Mendiburu WPML Supporter since 11/2020
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Madrid (GMT+02:00) |
Hi there! This is Paola and I will continue with the ticket as Bruno is on holidays. Yes the issue has been fixed in our latest updates of WPML. Please let me know if you have any problem. |