Skip to content

The Language Switcher

The language switcher lets visitors pick their language. When they choose one, they’re taken to the translated version of the page they’re on — the URL gains the language prefix (e.g. /de/about/) and the page is shown in that language.

You set it up under Omnalingo → Settings → Language Switcher, and you can use more than one placement at the same time.

The simplest option. Turn on Enable Floating Widget and a fixed switcher appears in a corner of every page — no theme edits or shortcodes needed (it’s injected via the footer). You can set its desktop and mobile position and fully style it; see Customizing the Switcher.

To place the switcher in a specific spot, use the shortcode:

[omnalingo-switcher]

It renders inline wherever you put it — a Shortcode block in the editor, a widget area, a page-builder text element, or any template that runs do_shortcode().

You can add the switcher to a WordPress menu under Appearance → Menus, where Omnalingo adds options for inserting the switcher or individual language links. Each language link uses the placeholder URL #omnalingo_lang_{slug} (for example #omnalingo_lang_de for German), which Omnalingo turns into a direct link to the current page in that language.

You want…Use
The simplest setupFloating widget
The switcher in your headerNavigation menu
It in a specific page sectionShortcode