set Chinese as default language and ......

Author Message

poon sg

Thursday 10 June 2004 1:41:57 am

Hi,

I have set up a site using eng-GB as the main and only language, now i used setup / translation to add the chi-CN Language,
and I have also changed the site.ini.apped to below:

[RegionalSettings]
Locale=chi-CN
ContentObjectLocale=chi-CN

and I clear all the caches after putting these changes.

The problem is that each time I add an article,
1) the default language is english and not in Chinese.
2) after clicking store the Chinese display like this &#26032, &#38463

and i also try to set charset=uft-8, but it seems no help

How to solve this problem?

Thanks!
sgpoon

yuan che

Sunday 29 August 2004 4:15:15 am

tell me after you have progress.
the problem about utf-8 make me crazy.
I have configured it followed the document on here,but still have some problems.
I suggest ez to post a detailed document on using utf-8.especially about chinese locale.
I come from china.
my msn:yuan_che@hotmail.com
contact me. pls.

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

eZ debug

Timing: Jan 31 2025 08:10:34
Script start
Timing: Jan 31 2025 08:10:34
Module start 'layout'
Timing: Jan 31 2025 08:10:34
Module start 'content'
Timing: Jan 31 2025 08:10:35
Module end 'content'
Timing: Jan 31 2025 08:10:35
Script end

Main resources:

Total runtime1.0017 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.2500151.2266
Module start 'layout' 0.00470.0022 739.476636.6641
Module start 'content' 0.00690.9941 776.1406919.8516
Module end 'content' 1.00100.0007 1,695.99227.8281
Script end 1.0017  1,703.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.2830160.0002
Check MTime0.00120.1161160.0001
Mysql Total
Database connection0.00080.075710.0008
Mysqli_queries0.957495.5740540.0177
Looping result0.00040.0374520.0000
Template Total0.968996.720.4845
Template load0.00200.194920.0010
Template processing0.966996.530420.4835
Template load and register function0.00120.122910.0012
states
state_id_array0.00100.098610.0010
state_identifier_array0.00170.171120.0009
Override
Cache load0.00160.1626260.0001
Sytem overhead
Fetch class attribute can translate value0.00040.044620.0002
Fetch class attribute name0.00150.152530.0005
XML
Image XML parsing0.00190.191120.0010
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00390.3857150.0003
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs