Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are unable to save translations on your homepage and Advanced Custom Fields using WPML after reaching 100% and clicking 'Complete'. The translation does not save, and the '+' icon reappears.
Solution:
We recommend following these steps to resolve the issue:
1. Create a full backup of your site.
2. Update all outdated plugins, themes, and the WordPress core. Update the WPML plugins by navigating to Plugins -> Add new -> Commercial tab -> Click on the button to get new updates.
3. Flush any cache memory that might exist.
4. Insert the following code into the functions.php file within your theme's folder:

function wpmlsupp_1891_fix_missing_icl_tables() {
    if( function_exists( 'icl_sitepress_activate' ) )
        icl_sitepress_activate();
}
add_action( 'wp_footer', 'wpmlsupp_1891_fix_missing_icl_tables' );

5. Visit the page in the frontend.
6. Remove the code from the functions.php file.
7. Check if the issue is resolved.

If this solution does not apply to your case, or if it seems outdated, 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 the problem persists, please open a new support ticket 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.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Carlos Rojas 1 week, 3 days ago.

Assisted by: Carlos Rojas.

Author Posts
November 21, 2024 at 9:45 am #16428115

Logothetis

Background of the issue:
I am trying to translate my homepage using WPML. The site I need help with is hidden link. The website was rebuilt and previously connected to a different WPML account, which we did not have access to. After reinstalling WPML and creating a new account, I encountered issues with translations.

Symptoms:
I cannot translate my homepage. The translation reaches 100%, but after clicking 'Complete,' the pencil icon appears, and upon reloading, the '+' icon reappears, indicating the translation is not saved. Additionally, I cannot translate Advanced Custom Fields, such as my footer built with the ACF plugin, despite trying all available options.

Questions:
Why does the translation not save after reaching 100% and clicking 'Complete'?
How can I successfully translate Advanced Custom Fields using WPML?

November 21, 2024 at 12:06 pm #16428819

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

According to the description of the issue, there might be a problem in the database. I kindly ask you to follow these steps to solve the problem:
- Create a full backup of the site
- Update all outdated plugins, themes, and the WordPress core. You can update the WPML plugins in Plugins -> Add new -> Commercial tab -> Click on the button to get new updates
- Flush any cache memory that might exist
- Paste this code in the functions.php file located within the theme's folder:

function wpmlsupp_1891_fix_missing_icl_tables() {
    if( function_exists( 'icl_sitepress_activate' ) )
        icl_sitepress_activate();
}
add_action( 'wp_footer', 'wpmlsupp_1891_fix_missing_icl_tables' ); 

- Visit the page in the frontend
- Remove the code from the functions.php
- Double-check if the issue disappeared

Could you tell me the results of the steps described above?

Regards,
Carlos