The Language Switch Plugin gives you the freedom to switch between the same Content in multiple Languages. This gives your user a simple way to switch to their preferred Language of a Page.
Concept
The Language Switch is based on 2 Concepts
- Definition of which Languages should be displayed in the Language Switch. This can be configured globally (for all Spaces) and further customised per Space. For Details, see the Configuration Page.
- Based on Labels, which defined the Language and the Relationship between same Content Pages.
Label definition
The Language Switch is using Labels to identify the Language of the Page and the related Pages in other Languages. This Pattern has the following format:
page_<Page Identifier>_<language>
Prefix | The Prefix is always page_ |
---|---|
<Page Identifier> | This is the common Identifier which must be used on all related Pages, e.g. product. |
<Language> | Identifies the Language of the Page using ISO 639-1 two-letter codes, as defined in the Configuration. |
Example of Labels
page_product_en
: Product Page in englishpage_product_de
: Product Page in german
see also a full Example on the /wiki/spaces/LSC/pages/12845112 Page