All documentation

Stacklar Documentation

Use Shortcode Locale for Multilingual Stacklar Pages

Publish the same Stacklar on multiple language pages by passing a locale in the shortcode.

Open: Pages -> Edit Page ->

Create the locale translation before using the locale parameter in a shortcode.

Configure the Translation: Shortcode Locale

  1. Complete the source form and translations in Stacklar multilingual settings.
  2. Create a separate page for each language, such as /en/contact/ and /fr/contact/.
  3. Embed the same form with the locale parameter that matches the page language.
  4. Submit a test on every locale page and verify messages, emails, redirects, and stored locale context.

Language Options

  • id: Selects the Stacklar displayed by the shortcode.
  • locale: Selects the configured translation for this shortcode instance.
  • Page language: Keeps the translated form on the matching language page and URL.

Test Each Language

  • Each language page displays the correct translation.
  • Submissions store the correct locale context.
  • Emails and redirects do not mix languages.

Frequently Asked Questions

Where do I open these settings?

Open Pages -> Edit Page -> .

What should I verify after making changes?

Each language page displays the correct translation.

Official reference: WordPress internationalization documentation.