FSE Multilingual

4WP Multilingual FSE

Locale-aware FSE template parts for Polylang and WPML — keep header and footer in your templates, swap language-specific parts on the front end.

Polylang

WPML

Template Parts

Block Patterns

Design System

Version 0.2.0 · WordPress 6.4+ · PHP 7.4+ · GPL v2+

4WP Multilingual FSE lets block-theme teams ship one set of FSE templates while serving locale-specific headers, footers, and custom template parts.

Multilingual block themes without template sprawl

Keep base slugs like header in every template. Create header-en, footer-de, or map custom slugs — the plugin resolves the correct part when Polylang or WPML switches the active locale.

How it works

  1. Install and activate 4WP Multilingual FSE alongside Polylang or WPML.
  2. Open Settings → 4WP Multilingual FSE and confirm the detected provider.
  3. Create language-specific template parts — e.g. header-en, footer-ar — or use Clone from the admin table.
  4. Map each base slug to a locale part per language, or rely on the {base}-{lang} naming convention.
  5. Templates stay unchanged — the plugin swaps core/template-part slugs on the front end before WordPress renders them.

Perfect for

  • FSE / block themes with Polylang or WPML that need different headers, footers, or CTAs per language
  • Agencies building multilingual marketing sites without duplicating every template file
  • Teams that want a gap report and clone workflow instead of manual Site Editor copy-paste
  • Sites using language-scoped block patterns in the inserter (v0.2+)

Key features

Provider detection, smart slug resolution, and a Design System tab for multilingual FSE coverage

Provider-aware

Built-in Polylang and WPML providers detect the active locale, with sensible fallbacks when a language part is missing.

Smart resolver

Admin mapping → {slug}-{lang} convention → base part fallback. Adds forwp-lang-{code} and RTL body classes.

Design System tab

Gap analysis shows missing locale variants; clone single or bulk parts, then jump straight into the Site Editor.

Requirements

WordPress6.4 or higher (FSE / block theme)
PHP7.4 or higher
Multilingual pluginPolylang or WPML (one active provider)
Current version0.2.0
DistributionGitHub (WordPress.org listing planned)

Pair with 4WP Polylang API Sync for remote content control, or install the full suite from 4WP Bundle.

Ready to localize your block theme?

Clone the repository, map your template parts, and ship locale-aware headers and footers without template sprawl.