<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags" xmlns:o xmlns:o =
"urn:schemas-microsoft-com:office:office"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff size=2>Thanks
a lot.</FONT></SPAN></DIV>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff size=2>I had
allready send a short Introduction to the list two days bevor on Wed 3/3/2004
11:50 PM, regarding the right to left problems an their solution for the wysiwyg
editor.</FONT></SPAN></DIV>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff size=2>I will
be venerated to do the work also on the 6.0 version and will be happy
if You could send me the adjusted base module and localization module for
6, so that I can work on it.</FONT></SPAN></DIV>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff size=2><SPAN
class=396383611-05032004><FONT face="Times New Roman" color=#000000 size=3><FONT
face=Arial color=#0000ff size=2>many thanks and </FONT></FONT><SPAN
class=396383611-05032004><FONT face=Arial color=#0000ff
size=2>Regards</FONT></SPAN>
<P><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff
size=2>Arash</FONT></SPAN></P></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff size=2><SPAN
class=396383611-05032004><FONT face=Arial color=#0000ff size=2>I will
paste the allreay send message here
again:</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff size=2><SPAN
class=396383611-05032004></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff
size=2>Subject: [opencms-dev] Solved: set Right to left courser position by
default and solve inline editing problems with Left to Right unicode bi-di
embed in wysiwyg editor</FONT></SPAN></DIV>
<DIV><SPAN class=396383611-05032004>
<P><SPAN class=396383611-05032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </P>
<P><FONT size=2>Hi,</FONT></P>
<P><FONT size=2>here is a short solution how to set the courser by default to
the right side for Right to Left Languages and how multiple content areas can
help to achive this in OpenCMS, you will be also able to mix ltr and rtl in the
same line in WYSIWYG editor with a good behaivour.</FONT></P>
<P><FONT size=2>1. enable multiple content areas in the OpenCms WYSIWYGE editor
with JSP templates, goto the howto of Alex: </FONT></P>
<P><A
href="http://mail.opencms.org/pipermail/opencms-dev/2003q3/006091.html"><U><FONT
color=#0000ff
size=2>http://mail.opencms.org/pipermail/opencms-dev/2003q3/006091.html</U></FONT></A></P><FONT
size=2>
<P>2. create a mybody template (as simple text) and put the following
definitions into it.</P>
<P><?xml version="1.0" encoding="UTF-8"?></P>
<P><XMLTEMPLATE></P>
<P><TEMPLATE><![CDATA[<p dir="rtl" style="DIRECTION: rtl; <FONT
color=#ff0000>unicode-bidi: embed</FONT>; TEXT-ALIGN: right" align="<FONT
color=#ff0000>right</FONT>"> <span lang="AR-SA"</P>
<P>style="FONT-SIZE: 14pt; FONT-FAMILY: Arial"> </span></p>
]]></TEMPLATE> <edittemplate><![CDATA[ <p dir="rtl"
style="DIRECTION: rtl;</P>
<P>unicode-bidi: embed; TEXT-ALIGN: right" align="right"> <span
lang="<FONT color=#ff0000>AR-SA</FONT>" style="FONT-SIZE: 14pt; FONT-FAMILY:
Arial"> </span></p>]]></edittemplate></P>
<P><template name="farsi2"><![CDATA[<p dir="rtl" style="DIRECTION:
rtl;</P>
<P>unicode-bidi: embed; TEXT-ALIGN: right" align="right"> <span
lang="AR-SA" style="FONT-SIZE: 14pt; FONT-FAMILY: Arial">
</span></p> ]]></template> <edittemplate
name="farsi2"><![CDATA[<p dir="rtl"</P>
<P>style="DIRECTION: rtl; unicode-bidi: embed; TEXT-ALIGN: right"
align="right"> <span lang="AR-SA" style="FONT-SIZE: 14pt;</P>
<P>FONT-FAMILY: Arial"> </span></p>
]]></edittemplate></P>
<P><template name="ltr"><![CDATA[ ]]></template></P>
<P><edittemplate name="ltr"><![CDATA[ ]]></edittemplate>
</XMLTEMPLATE></P>
<P>The first template is the default template and the direction has been set to
rtl The second template is e.g. For the second rtl body (in my case it has been
named farsi2) The 3. template is for left to right contents in the same right to
left page</P>
<P>3. define the <cms:include tags into your jsp template</P>
<P><cms:include element="body" /></P>
<P><cms:include element="farsi2" /></P>
<P><cms:include element="ltr" /></P>
<P>4. publish your changes</P>
<P>5. create a sample page and select from the "copy body from" dropdown list
the title of mybody (in my case it has the title farsi)</P>
<P>6. open the page in WYSIWYGE, the courser will jump now to the right side and
if you mix rtl and ltr languages in the same line it will work fine the editor
will keep out of mischief ;-)</P>
<P> </P>
<P>hope it helps somebody writing right to left mixed with left to right.</P>
<P>Best regards</P>
<P>Arash </P></FONT> </SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org] <B>On
Behalf Of </B>Alexander Kandzior<BR><B>Sent:</B> Friday, March 05, 2004 11:48
AM<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> RE: [opencms-dev]
Contribution on Workplace translation for Farsi (Persian, Iranian) language,
feedback opencms 6.0 alpha installation<BR><BR></FONT></DIV>
<DIV><SPAN class=248344010-05032004><FONT face=Arial color=#0000ff size=2>I
have now uploaded the Farsi localization module to opencms.org. You find
it under "Download" -> "Localizations".</FONT></SPAN></DIV>
<DIV><SPAN class=248344010-05032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=248344010-05032004><FONT face=Arial color=#0000ff size=2>Can
you please post some more tips how to enable left-to-right languages in
OpenCms 5.0 to the list? This is obviously important for all arabic languages
in general. </FONT></SPAN></DIV>
<DIV><SPAN class=248344010-05032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=248344010-05032004><FONT face=Arial color=#0000ff
size=2>Regarding left-to-right support in OpenCms 6.0: We will have a WYSIWYG
editor that supports left-to-right, but so far have not thought about the
workplace itself. So help left-to-right support for the 6.0 workplace is much
appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=248344010-05032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=248344010-05032004><FONT face=Arial color=#0000ff size=2>The
OpenCms 6.0 workplace will build on the localizaitons of OpenCms 5.0, but will
also require many new keys because many new things have been added. However,
the mechanism will stay the same, as will the localization module.
The Alkacon documentation base module requires some adjustments for
OpenCms 6 so it won't run yet, but I can provide an adjusted base
module and localization module for 6 per email to everyone
interested.</FONT></SPAN></DIV>
<DIV><SPAN
class=248344010-05032004><!-- Converted from text/plain format --><FONT
face=Arial color=#0000ff size=2></FONT><BR>
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon
Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A></FONT>
</P></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org] <B>On
Behalf Of </B>Arash Kaffamanesh<BR><B>Sent:</B> Wednesday, March 03, 2004
5:33 PM<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> RE:
[opencms-dev] Contribution on Workplace translation for Farsi (Persian,
Iranian) language, feedback opencms 6.0 alpha
installation<BR><BR></FONT></DIV><!-- Converted from text/plain format -->
<P><FONT size=2><FONT face=Verdana>Alex,<BR><BR>Please recieve attached the
first version of the Workplace localization in persian, which is not yet
complete.<BR>I hope I will be done by the work in two weeks, till mid of
this month.<BR>I'm working on a howto for right to left settings for the
workplace (the settings required in main.css of my opencms modul, are only
the DIRECTION = "RTL" attribute in {body ...} and {P .. } and {title .. }
elements). I do had done some experiments with the format.css of the whole
ocms system and set the DIRECTION attribute to RTL, the whole system was
mirrored to right to left, so that the german and english versions where
affected too, they became funny. I do think it must be possible to do it
optional (?). Since the new version will support the rtl direction, I won't
do additional work for the 5.x workplace. The current version works fine
with some little tricks and / or using other persian editors and the copy
and paste to the ocms wysiwyg editor.</FONT></FONT></P>
<P><FONT size=2><FONT face=Verdana>I do am working and dealing with some
guys in US and Iran on a persian / finglish editor as a java
applet (finglish stands for english to farsi or farsi to english). You
can type on english keybord and the text will be mapped to pesrian chars
:-). We do hope we will be done till mid of this year and could provide it
as OpenSource under LGPL License.</FONT></FONT></P>
<P><FONT size=2><FONT face=Verdana>Additionaly I have made some help files
available for setting up windows, linux os and IE, Mozzilla and Netscape
browsers to support Farsi, which I will include too into the module
later.<BR><BR><FONT color=#ff0000>Feedback 6.0 alpha
Installation:</FONT></FONT></FONT></P>
<P><FONT size=2><FONT face=Verdana>I do have installed today the opencms 6.0
alpha1 version on my dev mashine, it was realy great, no problems, it looks
pretty nice and powerful, thanks for your great work (jvm 1.4.1, MYSQL 4,
win2000, tomcat 4.1.27). I imported the workplace localization into the
system (and could guess it won't work), but under the preferences I can
select "ir" as language, it seems that the value of the language is the
country code extension (in my case ir) of the module
(org.opencms.locales.ir_1.0.zip). How different are the keys between
workplace_cc.properties (cc: country code) of the 5.x and 6.0 version of
ocms? I do ask this because I'm going to translate and write some small
tutorials and howto's in the Persian language and would like to do it for
the upcoming version 6.0 of ocms, so that the work shall not be done twice.
Can I do the translation work in parallel for the new version of ocms too?
If yes, how? Would the import mechanism for the localization modules be so
easy as the same as by 5.x version? or more easier :-) Is it possible to
have a look on the new workplace_cc.properties of the alpha version at this
time</FONT>?</FONT></P>
<P><FONT face=Verdana size=2>Thanks again to you and the whole group for
your great work and your help</FONT></P>
<P><FONT size=2><FONT face=Verdana>sunny regards from
Berlin</FONT></FONT></P>
<P><FONT size=2><FONT face=Verdana>Arash</FONT></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><st1:PersonName><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><SPAN
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><o:p><FONT
face=Arial
color=#ff0000>--------------------------------------------------------</FONT></o:p></SPAN><BR></SPAN></st1:PersonName><st1:PersonName><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial">Arash
Kaffamanesh</SPAN></st1:PersonName><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial">
</SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial">Ackerstrasse
145 D- 10115 Berlin<o:p></o:p></SPAN></P><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><o:p>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial">Tel.:
+49 30 280 45 994</SPAN><SPAN
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"> </P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><FONT
face=Arial>Email Adressen:</FONT> </o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><FONT
face=Arial><A
href="mailto:arash@pomegranate.de">arash@pomegranate.de</A> (preferred)</FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><FONT
face=Arial><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><A
href="mailto:kaffamanesh@dmu-world.de">kaffamanesh@dmu-world.de</A><FONT
face=Arial> (expires soon, too much
spam)</FONT></SPAN></FONT></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"></SPAN><SPAN
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><o:p><FONT
size=2></FONT></o:p></SPAN> </P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><o:p><FONT
size=2>WEB:</FONT></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><o:p><A
href="http://www.pomegranate.de/"><FONT
size=2>www.pomegranate.de</FONT></A></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><o:p><FONT
face=Arial size=2> The <FONT
color=#ff0000>COCO'S</FONT></FONT></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><o:p><FONT
face=Arial size=2><FONT color=#ff0000>CO</FONT>llaborative <FONT
color=#ff0000>CO</FONT>nsultant<FONT
color=#ff0000>'S</FONT></FONT></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial"><o:p><FONT
face=Arial
color=#ff0000>--------------------------------------------------------</FONT></o:p></SPAN><BR><BR><BR><BR>-----Original
Message-----<BR>From: opencms-dev-admin@opencms.org [<A
href="mailto:opencms-dev-admin@opencms.org">mailto:opencms-dev-admin@opencms.org</A>]
On Behalf Of Alexander Kandzior<BR>Sent: Saturday, February 28, 2004 9:40
PM<BR>To: opencms-dev@opencms.org<BR>Subject: RE: [opencms-dev] Contribution
on Workplace translation for Farsi (Persian, Iranian) language, or Arabic,
Hebrew<BR><BR><BR>Arash,<BR><BR>post your translation to me (or on this
list). I will put the up to the other localizations available on
opencms.org.<BR><BR>Regarding changes to the editor for left-to-right
languages: If you make any progess on this please contribute your patches so
that I can include them in OpenCms 6.0. To place the cursor on the right by
default in OpenCms 5.0 patching the editor HTML is required. The 5.0 editor
HTML is pretty mixed up (grown over too many years...) but with the plugin
API in 6.0 it will become easy to use a left-to-right editor by
default.<BR><BR>Kölle Alaaf (just a week too late
;-)<BR><BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon Software - The OpenCms
Experts<BR><A
href="http://www.alkacon.com">http://www.alkacon.com</A><BR><BR>>
-----Original Message-----<BR>> From:
opencms-dev-admin@opencms.org<BR>> [<A
href="mailto:opencms-dev-admin@opencms.org">mailto:opencms-dev-admin@opencms.org</A>]
On Behalf Of Arash Kaffamanesh<BR>> Sent: Saturday, February 28, 2004
4:29 PM<BR>> To: contributions@opencms.org;
opencms-dev@opencms.org<BR>> Subject: [opencms-dev] Contribution on
Workplace translation<BR>> for Farsi (Persian, Iranian) language, or
Arabic, Hebrew<BR>><BR>><BR>> Hi Dear All,<BR>><BR>> I do
have done a first translation of the workplace into the Farsi<BR>>
(Persian, Iranian) language. I do have translated the Kölsch<BR>>
workplace.properties completely plus the context.x properties into<BR>>
persian and is not yet complete (I like Kölsch and beside trinking<BR>>
Kölsch I use it as the default language of my opencms workplace
;-)).<BR>><BR>> Is there anybody who works on such translation of the
workplace and<BR>> /or Online Help? Or in the Hebrew or Arabic which are
both Right to<BR>> Left oriented. I would like to discuss the problems
and the possible<BR>> Solutions with them. If not I'll go on with the
work myself in the<BR>> next weekends.<BR>><BR>> To whom can /
shall I post the first version?<BR>><BR>> May be someone in Iran,
Afganistan, or where else in the world has<BR>> some interesst to support
this Contribution and work on the problems<BR>> with Right to left and
bi-directional support(inline problem) in the<BR>> WYSIWYG editor or plug
another editor within the upcoming version 6.0<BR>> of
OpenCMS.<BR>><BR>> Who knows:<BR>> Is there any way to define a
property for the current WYSIWYG editor,<BR>> so that after entering to
it, the courser position can be set to the<BR>> right side as
default?<BR>><BR>> Awaiting Your feedback<BR>> Best Regards and
thanks in advance<BR>> Arash<BR>><BR>> arash@pomegranate.de<BR>>
www.pomegranate.de<BR>> The COCO's (Collaboration
Consultants)<BR>><BR>>
_______________________________________________<BR>> This mail is send to
you from the opencms-dev mailing list<BR>> To change your list options,
or to unsubscribe from the list, please<BR>> visit <A
href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</A><BR>><BR>><BR><BR>_______________________________________________<BR>This
mail is send to you from the opencms-dev mailing list<BR>To change your list
options, or to unsubscribe from the list, please visit <A
href="http://mail.opencms.org/mailman/listinfo/opencms-dev">http://mail.opencms.org/mailman/listinfo/opencms-dev</A><BR></P></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>