Set the default language for your site and specify additional languages to indicate which language(s) your content is in.

Content in additional languages can only be shown if your content source is a Scroll Document with activated languages.

Default language

The default language is the (predominant) language of your site’s content. If no default language is set, we assume that all your content is in English.

We recommend that you set a default language for your site, for the following reasons:

  • The default language is used to assign the right language attribute to the pages of your Viewport site (e.g. <html lang=“en”>). This metadata helps screen readers and search engines return language specific results.

  • If more than one language is added to the site, the default language is used to initialize the site and as a fallback when no language is specified.

  • If you set your site language to English, German, French, Spanish or Russian, the help center theme will automatically adjust to those languages. This means, error messages and standard texts in places like the footer or search page will always show in the language that is selected in the site (using a picker in the site’s footer).

Once set, all content added to your site will automatically be marked as being in the default language. Content managed with Translations for Scroll Documents will be marked according to the language specified in Scroll Document’s document manager.

You can only select a language as the site’s default language if all versions of your document content sources contain that language and are added to your site.

Set a default language for your site

To change the default language for your site:

  1. Click Site Settings

  2. Find the section Languages and click Manage
    If you’ve never set a site language: The Set default language wizard will open.

  3. From the dropdown: Find and select your preferred language.

  4. Click Save.

A Scroll Document or version of a Scroll Document that doesn’t contain the language you have set as default cannot be added as a content source to your site. Viewport will remove your document as a content source, if the language that is specified as the site’s default language is removed at a later point from your document or from versions of your document that you have selected in your site.

Additional languages

You can show your site’s content in more than one language and allow your visitors to toggle between different language (using a picker in the site’s footer).

If you set your site language to English, German, French, Spanish or Russian, the help center theme will automatically adjust to those languages. This means, error messages and standard texts in places like the footer or search page will always show in the language that is currently selected in the site.

To prepare your site for content in multiple language, you will need to set a default language first (see above), then select additional languages.

For translated content to show up, the content source(s) of your site will need to be Scroll Documents with activated languages. Learn more on Display Translations .

Enable additional languages for your site

To add mor the default language for your site:

  1. Click Site Settings

  2. Find the section Languages and click Manage

  3. Click + Add language on the top right.

  4. From the dropdown: Find and select the language(s) you plan to add to your site.

  5. Click Save.

You are now ready to add or adjust your content sources to show content in the selected languages in your site. Learn more on Display Translations .