Show different content per language

Free5 min read

All guides

Sometimes a page needs something different per language: a form in the visitor’s language, a local phone number, or a banner only for one country. Use the [lango7_lang] shortcode.

Show content in some languages

[lango7_lang code="fr"]
[fluentform id="5"]
[/lango7_lang]

Hide content in some languages

[lango7_lang not="fr,de"]
[fluentform id="1"]
[/lango7_lang]

Your own language

Use source for your site’s original language:

[lango7_lang code="source"]Call us on 03 1234 5678[/lango7_lang]

Good to know

  • List several codes with commas. The folder name works too.
  • Hidden content never reaches the page, so it isn’t translated either.
  • Works in the Shortcode block, classic content, and builders’ shortcode elements.