The Language Switch Plugin gives you the freedom to switch between the same Content content in multiple Languageslanguages. This gives your user users a simple way to switch to their preferred Language language of a Pagepage.
Concept
The Language Switch is based on 2 Conceptsconcepts
- Definition of which Languages languages should be displayed in the Language Switch. This can be configured globally (for all Spacesspaces) and further customised per Spacespace. For Detailsmore details, see the Configuration Page page.
- Based on Labelslabels, which defined define the Language language and the Relationship relationship between same Content Pagescontent pages.
Label definition
The Language Switch is using Labels Confluence labels to identify the Language language of the Page page and the related Pages pages in other Languages. This Pattern languages.
The pattern has the following format:
Panel |
---|
...
<Prefix>_ |
...
<PageIdentifier>_ |
...
<Language> |
Prefix | <Prefix> | The Prefix prefix is always page_ |
---|---|---|
<Page Identifier><PageIdentifier> | This is the common Identifier identifier which must be used on all related Pagespages, 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 page in englishEnglishpage_product_de
: Product Page in german
...
- page in German
Tip |
---|
You can find a complete example on the /wiki/spaces/LSC/pages/12845112 Page. |