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.
Floating widget
Section titled “Floating widget”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.
Shortcode
Section titled “Shortcode”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().
Navigation menu
Section titled “Navigation menu”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.
Which placement should I use?
Section titled “Which placement should I use?”| You want… | Use |
|---|---|
| The simplest setup | Floating widget |
| The switcher in your header | Navigation menu |
| It in a specific page section | Shortcode |
- Customizing the Switcher — position, labels, flags, colors, and presets.
- Visitor Language Detection (Pro) — suggest a visitor’s own language automatically.