Documentation for the worlds leading Java Based Open Source Web Content Management System

dotCMS

Multilingual Content

CMS Dictionaries

Multiple language versions are supported in dotCMS.  Back-end users can contribute content in multiple language versions and front end users may have the option of viewing content in the supported languages.  To add another content language version to dotCMS, first click on the "Add New Language" button under the "CMS Admin" tab.

Add New Language Link

Enter the two character "Language Code" and "Country Code" and then fill out the complete descriptive name of the Language and Country being represented as in the image below.

Add New Language

After saving the new language users will be able to open, search for, or create a piece of content on any structure and in the new language version by clicking on the new language flag icon that will now be displayed.  When adding or editing content, simply click on the select box provided by the "Language" field to enter content in a particular language. English is the dotCMS default language, however, the default language can be configured to any language in the dotmarketing-config.properties file.

New Language Added

After adding the new language, click on the content tab and make sure that the new language has been added to the language filter field in the content search area.

Content Language Versions

All of the content on a particular webpage can be previewed by language version while editing an HTML page in edit mode as shown in the image below.

Multilingual Webpages

Multi-lingual pages with static content must have a content version for each language, however, dynamic pages can (and should), be built to pull a default language version of content if there is not a language version of the content that matches the front end user's language choice on a particular webpage.

2

Subscribe to dotcms

Visit this group