[opencms-dev] Contribution on Workplace translation for Farsi (Persian, Iranian) language, feedback opencms 6.0 alpha installation
Arash Kaffamanesh
kaffamanesh at dmu-world.de
Fri Mar 5 13:06:00 CET 2004
Alex,
http://www.opencms.org/export/download/opencms/org.opencms.locales.ir_1.
0.zip
can't be downloaded (not published?)
HTTP Status 404 -
_____
type Status report
message
description The requested resource () is not available.
-----Original Message-----
From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] On Behalf Of Arash Kaffamanesh
Sent: Friday, March 05, 2004 12:52 PM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Contribution on Workplace translation for
Farsi (Persian, Iranian) language, feedback opencms 6.0 alpha
installation
Thanks a lot.
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.
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.
many thanks and Regards
Arash
I will paste the allreay send message here again:
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
Hi,
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.
1. enable multiple content areas in the OpenCms WYSIWYGE editor with JSP
templates, goto the howto of Alex:
<http://mail.opencms.org/pipermail/opencms-dev/2003q3/006091.html>
http://mail.opencms.org/pipermail/opencms-dev/2003q3/006091.html
2. create a mybody template (as simple text) and put the following
definitions into it.
<?xml version="1.0" encoding="UTF-8"?>
<XMLTEMPLATE>
<TEMPLATE><![CDATA[<p dir="rtl" style="DIRECTION: rtl; unicode-bidi:
embed; TEXT-ALIGN: right" align="right"> <span lang="AR-SA"
style="FONT-SIZE: 14pt; FONT-FAMILY: Arial"> </span></p> ]]></TEMPLATE>
<edittemplate><![CDATA[ <p dir="rtl" style="DIRECTION: rtl;
unicode-bidi: embed; TEXT-ALIGN: right" align="right"> <span
lang="AR-SA" style="FONT-SIZE: 14pt; FONT-FAMILY: Arial">
</span></p>]]></edittemplate>
<template name="farsi2"><![CDATA[<p dir="rtl" style="DIRECTION: rtl;
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"
style="DIRECTION: rtl; unicode-bidi: embed; TEXT-ALIGN: right"
align="right"> <span lang="AR-SA" style="FONT-SIZE: 14pt;
FONT-FAMILY: Arial"> </span></p> ]]></edittemplate>
<template name="ltr"><![CDATA[ ]]></template>
<edittemplate name="ltr"><![CDATA[ ]]></edittemplate> </XMLTEMPLATE>
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
3. define the <cms:include tags into your jsp template
<cms:include element="body" />
<cms:include element="farsi2" />
<cms:include element="ltr" />
4. publish your changes
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)
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 ;-)
hope it helps somebody writing right to left mixed with left to right.
Best regards
Arash
-----Original Message-----
From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] On Behalf Of Alexander Kandzior
Sent: Friday, March 05, 2004 11:48 AM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Contribution on Workplace translation for
Farsi (Persian, Iranian) language, feedback opencms 6.0 alpha
installation
I have now uploaded the Farsi localization module to opencms.org. You
find it under "Download" -> "Localizations".
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.
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.
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.
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/>
-----Original Message-----
From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] On Behalf Of Arash Kaffamanesh
Sent: Wednesday, March 03, 2004 5:33 PM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Contribution on Workplace translation for
Farsi (Persian, Iranian) language, feedback opencms 6.0 alpha
installation
Alex,
Please recieve attached the first version of the Workplace localization
in persian, which is not yet complete.
I hope I will be done by the work in two weeks, till mid of this month.
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.
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.
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.
Feedback 6.0 alpha Installation:
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?
Thanks again to you and the whole group for your great work and your
help
sunny regards from Berlin
Arash
--------------------------------------------------------
Arash Kaffamanesh
Ackerstrasse 145 D- 10115 Berlin
Tel.: +49 30 280 45 994
Email Adressen:
arash at pomegranate.de (preferred)
kaffamanesh at dmu-world.de (expires soon, too much spam)
WEB:
<http://www.pomegranate.de/> www.pomegranate.de
The COCO'S
COllaborative COnsultant'S
--------------------------------------------------------
-----Original Message-----
From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] On Behalf Of Alexander Kandzior
Sent: Saturday, February 28, 2004 9:40 PM
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Contribution on Workplace translation for
Farsi (Persian, Iranian) language, or Arabic, Hebrew
Arash,
post your translation to me (or on this list). I will put the up to the
other localizations available on opencms.org.
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.
Kölle Alaaf (just a week too late ;-)
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Arash Kaffamanesh
> Sent: Saturday, February 28, 2004 4:29 PM
> To: contributions at opencms.org; opencms-dev at opencms.org
> Subject: [opencms-dev] Contribution on Workplace translation
> for Farsi (Persian, Iranian) language, or Arabic, Hebrew
>
>
> Hi Dear All,
>
> I do have done a first translation of the workplace into the Farsi
> (Persian, Iranian) language. I do have translated the Kölsch
> workplace.properties completely plus the context.x properties into
> persian and is not yet complete (I like Kölsch and beside trinking
> Kölsch I use it as the default language of my opencms workplace ;-)).
>
> Is there anybody who works on such translation of the workplace and
> /or Online Help? Or in the Hebrew or Arabic which are both Right to
> Left oriented. I would like to discuss the problems and the possible
> Solutions with them. If not I'll go on with the work myself in the
> next weekends.
>
> To whom can / shall I post the first version?
>
> May be someone in Iran, Afganistan, or where else in the world has
> some interesst to support this Contribution and work on the problems
> with Right to left and bi-directional support(inline problem) in the
> WYSIWYG editor or plug another editor within the upcoming version 6.0
> of OpenCMS.
>
> Who knows:
> Is there any way to define a property for the current WYSIWYG editor,
> so that after entering to it, the courser position can be set to the
> right side as default?
>
> Awaiting Your feedback
> Best Regards and thanks in advance
> Arash
>
> arash at pomegranate.de
> www.pomegranate.de
> The COCO's (Collaboration Consultants)
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040305/8b622173/attachment.htm>
More information about the opencms-dev
mailing list