Skip to content Skip to sidebar

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

Problem:
The client is unable to switch languages using the language switcher on their static homepage after switching to a Hello Elementor child theme, despite the homepage being translated into both languages.
Solution:
We recommend the following steps to resolve the issue:
1. Navigate to Settings > General in your WordPress Dashboard.
2. Verify that the Site URL and WordPress URL are correctly defined (they should both be set to your site's URL).
3. Go to WPML > Support > Troubleshooting and click on the following buttons:

  • Disable cache for language switcher templates
  • Clear the cache in WPML
  • Assign translation status to duplicated content
  • Set language information

4. Clear the caches from your site and browser, then check the language switcher functionality again.

If the solution provided here is not relevant to your situation, either because it's outdated or not applicable to your case, we encourage you to open a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please contact us in the 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 2 voices.

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

Assisted by: Prosenjit Barman.

Author Posts
March 10, 2024 at 10:20 pm #15392961

francois-jeanV

I have used WPML for some years now. This week, I changed my website completely using this time Hello Elementor child. Everything is fine except, I used to be able in the old website to open my website and have my homepage static and be able to click on the right flag to switch language. I have my homepage in both language.

Now I can't switch from english to french by clicking the flag. All other pages are working, except the Static one. I used exactly the same format as the old website, the only difference is that I am working with the Hello Elementor child. Why do I do wrong? thank you.

March 11, 2024 at 11:15 am #15394443

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hi There,
Thanks for contacting WPML Support.

I understand the issue you're having. Sometimes, you may encounter such issues due to not defining the site URL and WordPress URL properly. Could you please try the following and check if that helps in solving the issue?

- Please go to Settings > General from your WordPress Dashboard
- Ensure that the Site URL and WordPress URL are defined correctly(The URL hidden link should be defined on both fields)
- Once done, go to WPML > Support > Troubleshooting and click on the following buttons:
-- Disable cache for language switcher templates
-- Clear the cache in WPML
-- Assign translation status to duplicated content
-- Set language information
- After that, clear the caches from your site and browser then check again.

Let me know how it goes. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit