Chinese Contents Needed on eZ publish 3 + MySQL (w/o Unicode)

Chinese Contents Needed on eZ publish 3 + MySQL (w/o Unicode)

Monday 28 April 2003 5:45:40 pm - 1 reply

Author Message

Gunnstein Lye

Friday 02 May 2003 5:20:53 am

To set the language of the admin site access: Edit settings/siteaccess/admin/site.ini.append, and add the following: (for norwegian language in this case)

[RegionalSettings]
# The primary language for your site
Locale=nor-NO
# Set this if the http locale in the locale is wrong
HTTPLocale=
# The default language for content objects
# Note: Changing this can have catastrophic consequences
# since there might not be any content objects with
# the selected language. Instead the content/translations
# page should be used for adding/removing translations.
ContentObjectLocale=nor-NO
# Controls how xml is stored in content objects.
# disabled - Store with utf8
# enabled - Store with current charset
# if any other text is entered it is assumed to be a charset and will be used
ContentXMLCharset=enabled
# Use either disabled to disable all text translation (faster) or enabled.
# Text translation is automatically disabled when the Locale is set to eng-GB
TextTranslation=enabled
TranslationCache=enabled
# Use either enabled to see which locale files are loaded or disabled to supress debug
Debug=disabled
# By enabling development mode all untranslated texts will be translated
# using the bork rules.
# See lib/ezi18n/classes/ezborktranslator.php for more information.
DevelopmentMode=disabled

(This is taken from settings/site.ini)
To make the browser show the right encoding, either set the preferred charset in the Chinese locale file, or in the HTTPLocale= statement above.

You must be logged in to post messages in this topic!

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