Forums / Install & configuration / How to display Arabic content

How to display Arabic content

Author Message

Mazin Mustafa

Monday 28 June 2004 1:04:23 pm

I am using eZ publish 3.4.0. It is setup for english-usa. I'm simply looking for the best way to publish articles that are in both English and Arabic.
I tried adding a custom translation with ara-IQ, create the English article, tranlated it to the custom local, but the display is row character code خ..etc.

Please advise.

Mazin Mustafa

Wednesday 30 June 2004 8:20:14 am

Folks, I'm not being lazy by asking this question. I had already done a full a search of the forums and doc's prior to writing this post.
I see the hints to using UTF-8 and changing databases and all that. My question is do I really have to do all that just for article content? The menus, links, everything can remain in Latin.
In HTML, displaying Arabic is just a matter of inputing the text in unicode. How can this be made to work with eZ publish if it is possible.

Paul Forsyth

Wednesday 30 June 2004 8:27:11 am

UTF-8 should do it. The primary requirement is that you db must be able to handle utf-8, not all of them can. If you are using mysql you need a 4.1.X series version. Once you have that its relatively simple to set up eZ publish for this, as described in:

http://ez.no/ez_publish/documentation/configuration/configuration/language_and_charset/unicode_with_ez_publish

paul

--
http://www.visionwt.com

Mazin Mustafa

Thursday 01 July 2004 1:01:37 pm

I followed the instructions and it now works. Thank you very much.

eZ debug

Timing: Jan 19 2025 00:54:48
Script start
Timing: Jan 19 2025 00:54:48
Module start 'content'
Timing: Jan 19 2025 00:54:49
Module end 'content'
Timing: Jan 19 2025 00:54:49
Script end

Main resources:

Total runtime1.0810 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 593.6250180.8281
Module start 'content' 0.00880.8753 774.4531482.7344
Module end 'content' 0.88410.1968 1,257.1875333.4844
Script end 1.0809  1,590.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.4298210.0002
Check MTime0.00160.1447210.0001
Mysql Total
Database connection0.00140.132810.0014
Mysqli_queries0.997992.31251970.0051
Looping result0.00260.23751950.0000
Template Total1.037195.920.5185
Template load0.00230.215420.0012
Template processing1.034895.724620.5174
Template load and register function0.00020.019410.0002
states
state_id_array0.00330.301510.0033
state_identifier_array0.00180.166120.0009
Override
Cache load0.00180.1697180.0001
Sytem overhead
Fetch class attribute can translate value0.00210.196130.0007
Fetch class attribute name0.00120.113640.0003
XML
Image XML parsing0.00050.049730.0002
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00700.6459210.0003
String conversion0.00000.000730.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs