Skip to content

7. Languages (work ongoing)

Rauli Rajande edited this page Jun 16, 2020 · 3 revisions

To add languages:

  1. CMS -> Site settings -> Visitor target groups -> Enabled

  2. CMS -> Target groups -> Add element:

    Group ID = language
    Strategy = Visitor language
    Labels = <language label in CMS>|<next>| ... eg "English|Estonian"
    Settings = <language 2 letter id>|<next>| ... eg "en|et"

First language will be the site's default language.

  1. On page panel edit pages, there will be new dropdown to select edit language. This is the language under which changed data is saved from page panel editor, not CMS interface language or frontend language.

  2. Frontend - there is panel in "basic" module called "basic/language". This is frontend language selector for site visitors. If there is made selection using this, then appropriate data for panels is loaded from database and shown to visitors.