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

Last updated by ashley-tM 5 months, 2 weeks ago.

Assigned support staff: Bruno.

Author Posts
May 7, 2019 at 6:17 pm #3761113

ashley-tM

Hi support team,

I am trying to:
Get the French version of the footer to display.

The footer for this site is created using a custom field type (shortcode: apcore_footer).
- On the Troubleshooting > Translatable custom posts linking section, I can see that the apcore_footer shortcode is linked to the Footers post type.
- Originally I tried translating this through the classic translation editor via XLIFF export using WPML translation management, but even though all translations were entered, the translation did not display.
- I then turned off the translation editor and attempted to translate the section manually, but this was also unsuccessful. Even though the translation was entered in for the French locale, the translation does not render on the front end.

Link to a page where the issue can be seen:
Can send link privately

May 8, 2019 at 12:14 am #3762795

Bruno
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi,

Thank you for contacting us. So that I can be able to see what's happening with this custom footer, I'll need to request temporary access (wp-admin and FTP) to your site - preferably to a test site where the problem has been replicated if possible - in order to be of better help.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Note:

*** Please let me know exactly what steps should I follow to see the problem.

*** Please, can I install the Duplicator plugin (or All in One Migration) to make a copy of your site and install it on my test environment? This will help me debug the problem.

*** Note: Please make a full backup of your site.

Privacy and Security when Providing Debug Information for Support: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thank you.

May 8, 2019 at 5:53 pm #3769631

Bruno
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi,

Thank you. How should I follow the steps to see the problem you are reporting? Also, how did you create this footer?

Thank you.

May 8, 2019 at 6:00 pm #3769799

ashley-tM

Thanks for your help!

Navigate to "milestone.jpa.com/?lang=fr", the footer is at the bottom of the page, as you can see it's still in English. To see the footer content in the WP dashboard, use the "Footers" section in the WP dashboard, located underneath "Comments". The footer is created using the Apress theme and wpbakery page builder. The custom post type is called apcore_footer.

-Chris

May 8, 2019 at 6:04 pm #3769861

ashley-tM

Hi Bruno,

I was able to get FTP credentials for duplicating the site, and can pass them along in a private message.

-Chris

May 8, 2019 at 6:21 pm #3769953

Bruno
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi,

Thank you. I fixed the problem of your site by following the steps below:

- Click on the WPML > Settings > Custom XML Configuration
- Insert these lines inside the wpml-config structure:

<key name="apress_data">
            <key name="footer_builder_template" /></key>

- Click on the Save button
- Click on the WPML > String Translation
- Insert the translated ID of the footer (Footers > All Items > French)

Following the above steps, the footer was displayed correctly in the secondary language.

Please, let me know if I can help with any other questions you may have about it. I'll be happy to help.

Thank you.

May 8, 2019 at 6:38 pm #3770041

ashley-tM

That did it! Thanks for your help and the clear screenshots.