How to Translate Your Website Footer with Polylang: Common Issues and Solutions
Content
Translating a website footer is a common challenge for WordPress users setting up multilingual sites with the Polylang plugin. Based on community discussions, the issue often arises because footers are handled differently by themes and page builders, and their translation isn't always a straightforward process within Polylang's core functionality.
Why This Happens
The core issue is that a website's footer is typically a global element. Many themes and page builders construct footers outside the standard WordPress post and page structure. This means the content isn't always accessible to Polylang's translation mechanisms by default. Common scenarios include:
- Theme Options Footer: Text entered in a theme's options panel (e.g., copyright text) is often not detected by Polylang's string translation.
- Custom Footers from Builders: Footers created with page builders like Elementor, Brizy, or WPBakery may be saved as custom post types that need to be explicitly linked for translation.
- Widget Areas: While Polylang can manage widgets, the process depends on using the classic Widgets screen in WordPress, not the newer Full Site Editor (FSE).
- Hard-Coded Text: Text directly written into a theme's
footer.phpfile cannot be translated by Polylang without modifying the theme code.
Common Solutions and Workarounds
1. Translating Footer Widgets
This is the most common method supported by the free version of Polylang for widget-based footers.
- Navigate to Appearance → Widgets in your WordPress admin.
- Locate your footer widget area.
- Add a widget (e.g., a Text widget) for your default language content.
- Click on the widget to expand its settings. You should see a meta box labeled Language or similar, allowing you to assign a language to that widget.
- Add a second instance of the same widget to the same footer area. Write your translated content in this new widget and assign it the second language in its language meta box.
Note: Some users report not seeing the language option. This typically requires the classic Widgets interface. If your theme uses the new FSE, you may need to install the free Classic Widgets plugin to restore this functionality.
2. Translating Custom Footers from Page Builders
If your footer is built with a page builder like Elementor or Brizy and saved in a library:
- Ensure the custom post type for your builder's templates (e.g., "Elementor Library") is activated for translation in Languages → Settings → Custom post types.
- After enabling translation, edit the footer template for your default language.
- You should now see a language meta box and a "Translations" box allowing you to create a linked duplicate of the footer for your second language.
- Create the translated version, edit it, and replace all content with the appropriate translations.
3. Using Conditional Display with Theme Builders
Some themes with advanced header/footer builders (like Kadence, Astra Pro, or Avada) have their own conditional display logic. If Polylang's integration isn't working, you might find a solution within your theme's tools:
- Create two separate footers in your theme builder.
- Use the theme's native "Display Conditions" or "Rules" to assign each footer to a specific language. Look for condition rules like "Language is...".
4. Translating Hard-Coded Theme Strings
For text hard-coded in your theme's footer.php file or output by a function, you must prepare the theme for translation. This is a more technical solution:
- A developer must wrap the text in the PHP file with a translation function like
pll__('Your text here')or the standard WordPress__('Your text here', 'text-domain')function. - Once the strings are properly prepared, they should appear in the Languages → String translation interface for you to translate.
Warning: Modifying theme files directly is not recommended, as changes will be overwritten on theme updates. Using a child theme is essential for this method.
What to Do If Nothing Works
If you've tried these solutions and your footer still isn't translating, the conflict might be specific to your theme or plugin combination. The next step is to perform a standard conflict test:
- Temporarily switch to a default WordPress theme like Twenty Twenty-Four.
- Disable all plugins except Polylang.
- Check if the problem persists. If it resolves, reactivate your theme and plugins one by one to identify the source of the conflict.
For further reading, the Polylang team provides documentation on translating widgets and theme internationalization on their website.
Related Support Threads Support
-
Multilanguage footerhttps://wordpress.org/support/topic/multilanguage-footer/
-
Widget not showing in two languageshttps://wordpress.org/support/topic/widget-not-showing-in-two-languages/
-
how to translate footer widgets on astra theme usign polylang – free versionshttps://wordpress.org/support/topic/how-to-translate-footer-widgets-on-astra-theme-usign-polylang-free-versions/
-
Footer not displaying in 2nd languagehttps://wordpress.org/support/topic/footer-not-displaying-in-2nd-language/
-
Polylang Custom widget translationhttps://wordpress.org/support/topic/polylang-custom-widget-translation/
-
cant translate footer and widgets with polylang prohttps://wordpress.org/support/topic/cant-translate-footer-and-widgets-with-polylang-pro/
-
Having different footers per languagehttps://wordpress.org/support/topic/having-different-footers-per-language/
-
How can i translate the footer? (Astra Pro)https://wordpress.org/support/topic/how-can-i-translate-the-footer-astra-pro/
-
using Polylang in footer widgethttps://wordpress.org/support/topic/using-polylang-in-footer-widget/
-
translate Widgetshttps://wordpress.org/support/topic/translate-widgets-3/
-
Translate footer elementshttps://wordpress.org/support/topic/translate-footer-elements-2/
-
Unable to translate copyright in footerhttps://wordpress.org/support/topic/unable-to-translate-copyright-in-footer/
-
Need to translate text in header and footer, not seen in ploylang sectionhttps://wordpress.org/support/topic/need-to-translate-text-in-header-and-footer-not-seen-in-ploylang-section/
-
Footer not changing to another languagehttps://wordpress.org/support/topic/footer-not-changing-to-another-language/
-
Astra Theme Copyright not switching Langhttps://wordpress.org/support/topic/astra-theme-copyright-not-switching-lang/
-
Multilanguage Footer using Polylang and Salient themehttps://wordpress.org/support/topic/multilanguage-footer-using-polylang-and-salient-theme-2/
-
can Polylang translate hardcoded text in the footer.php?https://wordpress.org/support/topic/can-polylang-translate-hardcoded-text-in-the-footer-php/
-
Translated footershttps://wordpress.org/support/topic/translated-footers-2/