ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

SystemLocale

Summary

Tells PHP to be run in a specific locale.

Usage

 

SystemLocale=locale_name1[,locale_name2][,locale_name3]...

Description

Use this directive to set locale for the entire PHP system (this functionality is similar to using the "setlocale" PHP function where "LC_ALL" is passed as the first parameter). You can specify a comma separated list of locale names. If you use a character set specific locale (for example, "no_NO.UTF-8"), make sure this character set matches the output character set of eZ Publish. Please note that different operating systems have different naming schemes for locales, and thus you might need to use multiple names in order for your installation to work on multiple platforms (such as developing on Windows and running Linux in production).

Examples

Example 1

SystemLocale=de_DE.ISO-8859-1,german

This will tell PHP to first use the "de_DE.ISO-8859-1" locale, and if this is not available, then the "german" locale will be used.

Example 2

SystemLocale=no_NO.UTF-8,no_NO,norwegian

With this configuration each of the three listed elements (starting from "no_NO.UTF-8") will be tried to be set as new locale until success.

Frederik Holljen (04/04/2005 3:56 pm)

Svitlana Shatokhina (26/12/2006 12:58 pm)

Frederik Holljen, Svitlana Shatokhina


Comments

There are no comments.