|
Hello WPML Support Team,
I am experiencing issues getting the language switcher to function and translated pages to render correctly on my site, which uses the "Handmade" theme along with its required "Handmade Framework" plugin and the bundled "WPBakery Page Builder."
The Problems:
Theme Language Switcher Non-Functional: My theme includes a built-in header language switcher. It correctly displays the languages I have configured in WPML, but clicking on any language in the dropdown does nothing. The URL does not change, and the language does not switch.
Broken Rendering on Translated Pages: I have created and published a full translation for my homepage in French using the Advanced Translation Editor. However, when I navigate to the French version (/fr/), the page layout is broken: many sections built with WPBakery are blank or missing, the footer disappears entirely, and some text elements remain in English.
Troubleshooting Steps Completed:
I have performed extensive troubleshooting to rule out common causes:
WPML Settings:
Language URL format: "Different languages in directories"
Browser language redirect: "Disable browser language redirect"
AJAX language filtering: Disabled ("Store a language cookie..." is unchecked)
Menu language switcher: Not currently in use (attempting to use theme's built-in switcher)
Post Type Fallback: Set Pages/Products to "Translatable - use translation if available or fallback to default language"
Theme/Plugin Localization: Scanned all relevant themes and plugins for strings.
WPML versions are up-to-date.
Environment:
WordPress version is up-to-date.
The site works stably on PHP 7.4, but experiences these rendering/switcher issues on PHP 8.2 (the recommended version).
Conflict Testing:
No JavaScript errors appear in the browser console on page load or when clicking the non-functional switcher.
LiteSpeed Cache plugin has been tested while completely deactivated. Issue persists.
Cloudflare has been tested while paused. Issue persists.
All non-essential plugins were deactivated. Issue persists, indicating the conflict is between WPML and the core theme/builder plugins (Handmade Framework, WPBakery).
Translation Status: Confirmed the homepage translation exists, is marked 100% complete, and is published.
Conclusion:
Despite correct WPML configuration and ruling out common conflicts, the theme's switcher is non-functional, and WPML seems unable to correctly instruct the theme/page builder (WPBakery) to render the translated page content properly, resulting in a broken layout.
Could you please assist in investigating this compatibility issue with the Handmade theme and its bundled WPBakery Page Builder? Is this a known issue, or are there specific WPML settings required for this theme combination that I might be missing?
[Instruct user to add Debug Info] Please find the WPML Debug Information attached below.
[Optional: Offer Admin Access] I am happy to provide temporary administrator access if it helps diagnose the problem.
Thank you for your support.
Best regards, Jamie
|