Managing Multi-Language Content

Managing Multi-Language Content

As a CMS capable of managing several websites under one roof, Scrivito also lets you take care of content that is made available in more than one language, whether you are regularly translating content into another language, or are publishing regionally diversified offerings, for example. Specifically, Scrivito supports editors and admins with adding further language versions of a site or page, and comfortably maintaining the pages that are linked together as versions of each other.

That said, let’s take a look at what Scrivito’s editing interface has in store in this matter, provided that the multi-site functionality has been enabled for your Scrivito CMS.

The sidebars

First, in a multi-site environment, there is the Sites sidebar panel. It not only gives you an overview of the sites that have been set up, but also lets you link sites together as language versions of each other so that Scrivito can support you with creating and maintaining page versions.

And, second, the “Page versions” sidebar is for switching between the already available language versions of a page, for linking versions, and creating new ones. This sidebar panel is only available if the site being displayed is linked to at least one other site as a language version.

Adding a site to your content

On the Sites sidebar panel, there’s a button for adding a new site to your content, “Add site”. It lets you provide a new site with a homepage in a selectable language. A site created in this way is a stand-alone site in the sense that it is not a language version of any other existing site.

For adding a site as a language version, an “Add language” menu item or button is available. With stand-alone sites (that aren’t a language version), “Add language” can be found in the context menu of the corresponding element on the sidebar panel, whereas a group of sites representing language versions features an “Add language” button directly on the panel.

Like “Add site”, “Add language” also allows you to select a language, but the dialog additionally lets you specify a source site from which the content of the new site should be partly copied. This is convenient if the source content is a good starting point for creating the content of the new site, e.g. by translating it. Note, however, that only top-level pages will be copied over from the source site. These are the pages that usually show up in the main navigation.

So creating a site using “Add language” makes it a language version of the source site, whereas “Add site” doesn’t link the new site to any existing version. You can make a stand-alone site a language version of the currently displayed site by clicking the “Link site as language version to current site” context menu item of the corresponding element on the sidebar. After that, the menu includes an “Unlink site” item for turning it into a stand-alone site again.

Creating and working with language versions

With more than one website in place, Scrivito enables you to create a language version of any page for any of the other sites. As an example, if you have an English-language international site and a fresh German-language site, when visiting a page on the international site, here “About us”, Scrivito lists the sites without this page, i.e. the German site in this example, where “About us” can potentially be added.

Adding a page as a version

To add a page listed as a potential version to a site, click the plus button on the corresponding sidebar item. This copies the page to the target site and displays it for editing, e.g. translating, restructuring, etc.

Afterwards, the “Page versions” sidebar lists both pages as available versions. Each of them has an “Unlink page” button in case you no longer want it to be a version but unique to the site.

The copy is inserted on the target site at the same position in the page hierarchy as the source version, provided, of course, that this position exists. For example, if you have a product page located at “/products/games/checkers” on your “International Homepage”, and want to add “checkers” as a language version to your “Deutsche Homepage”, clicking “Add version” places the copy of “checkers” underneath the “produkte/spiele” page if „spiele“ is a language version of “games”. If no parent page can be determined, the copy of “checkers” is placed directly underneath the “Deutsche Homepage”, and you can move it later to its designated position in the hierarchy.

Linking independent pages as language versions

In cases in which two or more sites with content on them already exist, and the pages that are language versions of each other are not yet linked, you can use the clipboard to achieve this for individual pages.

For example, if you have a “/company/customers” page on your international site as well as “/unternehmen/kunden” on the German-language site, and would like to link them together as versions, first navigate to “customers” and copy the page to the clipboard. Then, switch sites and navigate to ”kunden”, and finally click the “Link page” button of the “Page on clipboard” element displayed on the sidebar.

Note that the two sites involved, i.e. the homepages, need to be linked as versions to be able to link their corresponding pages as versions as well.