Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

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).

Frederik Holljen (04/04/2005 4:02 pm)

Svitlana Shatokhina (17/12/2007 11:24 am)

Frederik Holljen, Svitlana Shatokhina


Comments

There are no comments.