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.

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:39
Script start
Timing: Jan 19 2025 00:58:39
Module start 'layout'
Timing: Jan 19 2025 00:58:39
Module start 'content'
Timing: Jan 19 2025 00:58:40
Module end 'content'
Timing: Jan 19 2025 00:58:40
Script end

Main resources:

Total runtime0.5901 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 590.7188152.6406
Module start 'layout' 0.00650.0037 743.359439.4766
Module start 'content' 0.01010.5784 782.8359477.6406
Module end 'content' 0.58850.0015 1,260.476612.1484
Script end 0.5900  1,272.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5411160.0002
Check MTime0.00140.2337160.0001
Mysql Total
Database connection0.00090.159310.0009
Mysqli_queries0.548392.9222600.0091
Looping result0.00050.0864580.0000
Template Total0.559594.820.2797
Template load0.00220.365720.0011
Template processing0.557394.444420.2786
Template load and register function0.00020.025910.0002
states
state_id_array0.00100.175210.0010
state_identifier_array0.00150.258620.0008
Override
Cache load0.00180.3028180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.130220.0004
Fetch class attribute name0.00130.220040.0003
XML
Image XML parsing0.00020.040820.0001
class_abstraction
Instantiating content class attribute0.00000.007340.0000
General
dbfile0.00060.0959100.0001
String conversion0.00000.001340.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
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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs