ContentObjectLocale

Summary

Sets the default language for content objects.

Usage

 

ContentObjectLocale=locale

Description

Sets the default language for content objects. This language will be used as the default value in PHP functions that support an optional parameter for language, e.g. in the "eZContentClass::instantiate()" function. The default value of this setting is "eng-GB".

Note: It is possible but not recommended to change this setting after you have run the setup wizard and added content to your site. If the specified language does not exist in eZ Publish then it will be automatically added (as a new entry in the "ezcontent_language" database table).

Examples

ContentObjectLocale=nor-NO

Sets the default language to Norwegian (Bokmal).

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.