Sites and glossaries

Saurus CMS allows to set up multilingual websites. You can add new languages, translate software's glossary and system messages as a subsite

Sites

Different subsites of the website are called with ?lang parameter where the value represents the abbreviation of the site name. For example, to switch the site to English, you should write the following URL:

http://www.sitename.com/?lang=en

This sets a cookie in your web browser which is held during the browser session.

If you point directly to some page in the web content like http://www.sitename.com/?id=1234, you do not need to add the ?lang parameter. If the page is in different site than the users' current session, the session language is updated automatically.

Adding site languages

In order to add new site or language to your site, proceed as follows:

  1. Choose Admin > Sites > Sites from tools menu. You will see a list of existing sites, site encodings and which language is first displayed to the site visitors
  2. Click "Create new site" to create new site or language.
  3. Fll in the name, abbreviation, default templates, encoding and the glossary the site will use, click "Save".

Creating root section and system messages

Root (or home) section is parent to all 1-st level sections and is normally not displayed in the visible site hierarchy. System section is parent to Recycle Bin and all system messages.

To create root and system sections you need to:

  1. Go to Admin > Sites > Site settings.
  2. Choose your site form the dropdown top right.
  3. Click N-buttons to create the sections. You do not need to choose the templates or any options for the sections, just fill in the names.
  4. After creating the system section, you can click additional N-buttons to create sections which represents the Recycle Bin, Polls archive and several articles with system messages such as "Page not found".

In this page you can also insert special articles which are not located in a site hierarchy nor found by the site search. They can be displayed if you put direct links to them using the ID of the articles. These can be useful for adding site footer or banners for example.

Glossary

Saurus CMS uses a number system strings which can be translated using built-in glossary. Most common system strings like "Read more", "Results", "Add comments" can be found and changed via Admin > Sites > Glossary from the tools menu.

User interface language

The administrator can choose from list of glossaries when logging in to the system. The list contains all glossaries which are installed.

You can change the user interface language also by adding ?lang parameter to the Admin section:

http://www.sitename.com/admin/?lang=en