This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported issues with WPML where languages were mixing on their website's English and Danish versions. Specifically, Danish links were appearing in English pages, and updates to translated versions were reverting to old content. Additionally, the client noted that the 'Edit Translation' page appeared differently after an update.
Solution:
We identified a bug related to the theme's compatibility with WPML. We recommended a workaround involving a modification in the theme's code. The client should locate the file at
/wp-content/themes/themify-ultra/themify/themify-builder/includes/plugin-compat/wpml-translation.php
and find the specific block of code. The modification involves changing the line
ThemifyBuilder_Data_Manager::save_data( $builder_data, $translated_post_id );
to
if (!empty(self::$translations)) { ThemifyBuilder_Data_Manager::save_data( $builder_data, $translated_post_id ); }
. This change prevents the system from updating the front page automatically with incorrect language data.
If this solution does not resolve the issue or seems irrelevant due to updates or different circumstances, we recommend opening a new support ticket. Additionally, it's advisable to check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum.
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.
This topic is split from https://wpml.org/forums/topic/wmpl-plugin-causes-bug-so-i-cant-edit-and-it-mixes-translated-languages/
This topic contains 24 replies, has 0 voices.
Last updated by 1 month, 2 weeks ago.
Assisted by: Dražen.