let some articles display with chinese

Author Message

poon sg

Monday 07 June 2004 2:23:25 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 can manage to translate texts to Chinese.but after I clicking store, all text changed to 我们....)

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, the default language is english and not in Chinese. (I want all the menu display with English, and some article display with Chinese)

How to solve this problem?

Thanks!

Bård Farstad

Monday 07 June 2004 11:52:05 pm

Try to change the character set of your database. This conversion of text most likely happens in the browser when entering a character which is not supported in the current character set. I would recommend using unicode (UTF-8) for chinese.

--bård

Documentation: http://ez.no/doc

Bård Farstad

Monday 07 June 2004 11:53:28 pm

Here is some information about how to use unicode with eZ publish:
http://ez.no/ez_publish/documentation/configuration/configuration/language_and_charset/unicode_with_ez_publish

--bård

Documentation: http://ez.no/doc

poon sg

Tuesday 08 June 2004 8:51:28 pm

HI bard:
you help me a lots.

does only mysql V4.1 has Unicode, and also need to convert?

Thanks & Regards!

sgpoon

yuan che

Sunday 29 August 2004 4:27:26 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 19 2025 00:58:36
Script start
Timing: Jan 19 2025 00:58:36
Module start 'layout'
Timing: Jan 19 2025 00:58:36
Module start 'content'
Timing: Jan 19 2025 00:58:37
Module end 'content'
Timing: Jan 19 2025 00:58:37
Script end

Main resources:

Total runtime0.6627 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.2813152.6406
Module start 'layout' 0.00550.0034 741.921939.4922
Module start 'content' 0.00880.6524 781.4141597.3984
Module end 'content' 0.66120.0015 1,378.812512.1406
Script end 0.6627  1,390.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4975160.0002
Check MTime0.00140.2111160.0001
Mysql Total
Database connection0.00080.116310.0008
Mysqli_queries0.599490.4460650.0092
Looping result0.00070.1002630.0000
Template Total0.631195.220.3156
Template load0.00200.300920.0010
Template processing0.629194.928820.3146
Template load and register function0.00020.035810.0002
states
state_id_array0.00090.137810.0009
state_identifier_array0.00070.112420.0004
Override
Cache load0.00170.2592370.0000
Sytem overhead
Fetch class attribute can translate value0.00070.098130.0002
Fetch class attribute name0.00120.180570.0002
XML
Image XML parsing0.00420.632730.0014
class_abstraction
Instantiating content class attribute0.00000.002380.0000
General
dbfile0.00450.6847220.0002
String conversion0.00000.001440.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
5content/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
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs