Forums / Install & configuration / let some articles display with chinese

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.

eZ debug

Timing: Jan 19 2025 04:28:51
Script start
Timing: Jan 19 2025 04:28:51
Module start 'content'
Timing: Jan 19 2025 04:28:52
Module end 'content'
Timing: Jan 19 2025 04:28:52
Script end

Main resources:

Total runtime0.7642 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.0938180.8203
Module start 'content' 0.00680.6262 769.9141602.4922
Module end 'content' 0.63290.1312 1,372.4063337.3750
Script end 0.7641  1,709.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5366210.0002
Check MTime0.00150.1951210.0001
Mysql Total
Database connection0.00080.098910.0008
Mysqli_queries0.685889.73312020.0034
Looping result0.00230.30042000.0000
Template Total0.733796.020.3669
Template load0.00210.276220.0011
Template processing0.731695.733920.3658
Template load and register function0.00020.028410.0002
states
state_id_array0.00090.123310.0009
state_identifier_array0.00110.146820.0006
Override
Cache load0.00180.2389370.0000
Sytem overhead
Fetch class attribute can translate value0.00100.127040.0002
Fetch class attribute name0.00150.192670.0002
XML
Image XML parsing0.00200.258240.0005
class_abstraction
Instantiating content class attribute0.00000.002280.0000
General
dbfile0.00350.4605330.0001
String conversion0.00000.006130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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