Language Switcher

Package Name:
This component can be used as a site language switcher.

Language Switcher

Component Name:

This is the main language switcher.

How to use?

Add below lines into FPM.ftd file:

-- fpm.dependency: as ls

-- ls
toc definitions
Show code
-- fpm.toc-item list languages:
$processor$: toc

- English: /
- Hindi: /hi
- Spanish: /es
- German: /de

Basic usage example

-- switcher:
languages: $languages
current: English
switcher-text: EN
horizontal-position: -30