Skip to content Skip to sidebar

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

Problem:
If you're experiencing an issue where your shop page does not display the translated footer when switching languages, despite using Elementor and Elementor Pro for footer creation and translation, this summary might help.
Solution:
1. Ensure the footer ID used in the Theme settings is correctly set for translation. Go to WPML > Settings and scroll to the bottom.
2. Click on 'Translate texts in admin screens »' and search for the default footer ID, which is

2092

.
3. If the ID appears, select it and click on 'Add to String translation'.
4. In the String Translation section, find the newly added ID and click on the '+' icon under the language flag. Enter the translated footer ID,

17945

, as the translation and save.
Following these steps should ensure that the correct translated footer appears when switching to another language.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we recommend opening a new support ticket. Additionally, 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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

Last updated by Prosenjit Barman 1 year, 9 months ago.

Assisted by: Prosenjit Barman.

Author Posts
July 11, 2024 at 8:22 pm #15937547

abdullahK-9

Background of the issue:
I want my shop page to show a footer which is translated by duplicate. I duplicated the footer and translated it, but when I switch the language in the shop page, it does not show the translated footer version. The original language is English and the translation language is Arabic (RTL). The footer and pages are built by Elementor and I connected my site to Elementor Pro.

Symptoms:
When I switch the language in the shop page, it does not show the translated footer version, instead it shows the same footer but changing the direction of the text.

Questions:
Why does the translated footer not appear on the shop page when I switch the language?
How can I ensure the translated footer is displayed correctly on the shop page?

July 12, 2024 at 7:32 am #15940544

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're experiencing. Upon checking the shop page, I found that the footer with ID 2092 is being loaded in both the English and Arabic versions. Since you have translated the footer template, the translated footer with a different ID should load on the Arabic version.

Could you please share how the footer was created and how it was added to the shop page? Providing some screenshots of the detailed steps would help me offer more targeted assistance.

Additionally, please share the WPML debug information for your site so that I can get a better overview of your site and system.

Here’s how you can get the debug info: https://wpml.org/faq/provide-debug-information-faster-support/

Copy the info and paste it into the debug information box right below the reply box. I will check it and suggest the next steps.

Looking forward to your response.

Best regards,
Prosenjit

July 12, 2024 at 8:09 am #15940731

abdullahK-9

yes exactly, the footer with ID 17945 should load instead of ID 2092 when switching to Arabic version.

i used the same footer for the home page and it is working perfect and switching normally.

the footer was already created when i activated the theme and its plugins, i only choose it from the customizer

Screenshot 2024-07-12 110458.png
Screenshot 2024-07-12 110618.png
Screenshot 2024-07-12 110651.png
July 12, 2024 at 11:36 am #15942175

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

Thank you for sharing the information.

Since the Footer has been set in the Theme settings, we need to find the Footer ID specified in the settings and translate the ID using String Translation. Please follow these steps:

1. Go to "WPML > Settings" and scroll down to the end.
2. Click on 'Translate texts in admin screens »'
3. Once the Admin screen loads, enter the ID of the default footer, which is 2092, in the search box.
4. If the ID appears in the result, select it and click on the 'Add to String translation' button.
5. Go back to String Translation, where the ID you just registered should be available at the top. You need to translate this ID.
6. Click on the '+' icon below the language flag, and as the translation, add the ID of the translated template, which is 17945. Click outside of the box to save the translation.

The Footer should appear correctly in other languages after following the steps above. However, if you need further assistance or clarification, please let me know. I will be happy to help.

Best regards,
Prosenjit

July 13, 2024 at 5:47 pm #15947986

abdullahK-9

Many thanks , the problem has been solved

July 15, 2024 at 5:33 am #15951997

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

Thank you for the update. I'm glad to hear that the suggestions helped solve the problem!

If you ever need assistance with our plugins, please feel free to reach out to us. We will be happy to help.

Since the issue has been resolved, kindly consider marking this thread as resolved.

Wishing you a nice day ahead!

Best regards,
Prosenjit