Skip Navigation

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 6 replies, has 3 voices.

Last updated by Eetu Matela 1 year, 11 months ago.

Assisted by: Diego Pereira.

Author Posts
June 8, 2023 at 9:12 am #13791475

Eetu Matela

I have translated my footer to English in section builder using string translation but when I change language from default languange (Finnish) to English in front end site is showing the default languange footer.

June 8, 2023 at 10:07 am #13791947

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi there.

This ticket has been inactive for quite a while. I didn't get a reply from you. So I've transformed this chat into a support ticket because you may still need our help. If you do, please reply to this ticket, and one of our supporters will continue helping you.

I was waiting for your access details to check the issue on your site. So once you have a site backup ready, please reply to this ticket, and one of our supporters will continue to help you.

If you need further help with this, please share the access details to your site.
I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

June 8, 2023 at 11:02 am #13792339

Eetu Matela

I've now backed up the site and provided access details. I still need help.

June 12, 2023 at 5:21 pm #13811959

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there, this is Diego from the WPML compatibility team.

We will need to do some tests, which are not possible to do on the live website. For this, we will need to create a local copy of the website.

Do you authorize us to create this temporary copy of the website? if yes, please install the following plugins:
Duplicator:
https://wordpress.org/plugins/duplicator/

File Manager:
https://wordpress.org/plugins/wp-file-manager/

All-in-one WP Migration
hidden link

Once you install them, please notify us so we can continue with the testing steps.

June 13, 2023 at 6:55 am #13813869

Eetu Matela

I authorize you to create a copy of the site. I have now istalled mentioned plugins.

June 13, 2023 at 7:04 pm #13819933

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

The issue happens because a compatibility issue between the Hongo theme and WPML.

As a workaround, you can use the following steps:
- Open the wp-content\plugins\hongo-addons\lib\hongo-addons-extra-functions.php file
- On the hongo_builder_option() function, replace the following snippet (around line 155):

return $hongo_option_value;

With:

// WPMl workaround for compsupp-6825
if ( class_exists( 'Sitepress' )) {
    if ( $option == "hongo_header_section" || $option == "hongo_footer_section" || $option == "hongo_mini_header_section" || $option == "hongo_header_top_section" ) {
        $hongo_option_value = apply_filters( 'wpml_object_id', $hongo_option_value, 'hongobuilder', TRUE  );
    }                
}

return $hongo_option_value;

This fixed the issue on my local copy. Could please check if it also works on your website?

We will report this issue to the theme author. if possible, please also open a support ticket with them to report the issue.

PS: While I was testing the issue, I disabled some plugins on your website by mistake. I've enabled them again and I believe everything is ok. Could you please also check if all the required plugins are correctly enabled under Plugins > All plugins? Just to be sure.