Path

ez.no / exponential / documentation / configuration / configuration / locale settings


Locale Settings

These documentation pages are no longer maintained. Please visit the new documentation site.

The locale is set to:

  • site.ini:RegionalSettings:SystemLocale is set in case it is not empty, otherwise the system locale is used.

For templates this default locale is overridden with:

  • template.ini:CharsetSettings:DefaultTemplateLocale if it is not empty
  • a {*?template locale='...'?*} setting in a template, in case it exists.

All settings may consist of a comma seperated list. Exponential will try to set the locales in order as they appear in the array until one of the settings works.

Example:

  • site.ini:RegionalSettings:SystemLocale=posix,C
  • template.ini:CharsetSettings:DefaultTemplateLocale=farawaistan
  • foobar.tpl has {*?template locale="german,de_DE"?*}

the list which Exponential tries to set for the whole system is:

  • posix, C

the list which exponential tries to set for a template is:

  • german, de_DE, farawaistan

If none of the locales in the last line is supported on the system, the one that works from the 'global' list is still in effect. It is advised to leave template.ini:CharsetSettings:DefaultTemplateLocale set to the empty string if NO other template overrides the locale. There is no overhead of setting locales at all then. In that case there is a template which overrides the locale, make sure to set a default locale for other templates, otherwise templates will inherit the locale if they are called from within that template.

Comments

Proper Locale setting for PDF export.

Hi
I'v got Exponential-3.4.4 installed on FC1 with iso-8859-2 (pl_PL) charset.
My problem is to set any/some locale settings of Exponential for proper PDF exporting.
I think I'v got everything (Locale, SystemLocale, DefaultTemplateCharset, DefaultTemplateLocale and so on) setup properly, but i still can't get polish charset in PDF export.
So my question is: how should I set those var-s up to get polish diacritical signs (iso-8859-2 charset) inside PDF exported files? :(
Not everything is clear for me in these matter, and i think i'm not the only one. So mayby it is not so bad idea to extend that "Locale Settings" article by more info.
Greets
PS. eZ_p_3.4.4 - really good work :))

Contents

Configuration

Configuration
    WebDAV setup
    Exponential running on a CGI version o...
    Path prefix
    Locale Settings
    Introduction
    Configuration files
    Site access
    Common settings
    Multi Site
    Directory structure
    Language and charset
    Cron jobs
    Login handler
    Search engine
    Tips & Tricks
Security
Optimization
Backup & Restore
Troubleshooting


Created

20/04/2004
4:04:28 pm
by Derick Rethans

Last updated

02/06/2004
11:44:06 am
by Jan Borsodi

Authors

Derick Rethans
Balazs Halasy
Jan Borsodi



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.