Hi all,

Many many thanks to Martin for resolving the issue so fast. I think "enhancement" mentioned by Michiel would be a valuable feature of text editor if implemented.

Afshar Mohebbi


On Sun, Jul 26, 2009 at 4:47 PM, Michiel Beijen <michiel@beefreeit.nl> wrote:
Great to see this issue fixed, and so fast...

I guess the benefit of using the plugin over the way you have addressed the issue now is that it allows you to change the text direction in the middle of a note (probably just as inserting RIGHT-TO-LEFT EMBEDDING (U+202B) would do). But that would make it an enhancement request, because previously there was none such functionality in OTRS.

Also, I don't see a software license specified in the FCKEditor plugin, so I guess it would be difficult to bundle with OTRS before reaching agreement on that first.

regards from The "Left-To-Right" Netherlands.

--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl


On Sun, Jul 26, 2009 at 14:59, Martin Edenhofer <me@otrs.com> wrote:
Hi,

JFI, bug is fixed now and will be available in 2.4.2. :)
Thanks to Masoud, Afshar and Michiel! :)

 -Martin

On 26.07.2009, at 11:21, masood ramezani wrote:

hi

I found a pluggin for fckeditor that enables rtl writing for that.

please check that.

the address is : http://www.dnastudio.co.il/FCKEditor.RTL.Support.aspx

On Sun, Jul 26, 2009 at 13:45, Afshar Mohebbi <afshar.mohebbi@gmail.com> wrote:
Hi Michiel,

Exuse me please! In the prev. email I meant you not Martin!

afshar


On Sun, Jul 26, 2009 at 12:44 PM, Afshar Mohebbi <afshar.mohebbi@gmail.com> wrote:
Hi Marting,

I asked some folks about CKEditor and RTL support. One of them claims that CKEditor from old versions till now supports RTL very good. BTW I have invited them to this mailing list and hope see them here versy soon.

Afshar Mohebbi


On Sun, Jul 26, 2009 at 10:05 AM, Afshar Mohebbi <afshar.mohebbi@gmail.com> wrote:
Hi Michiel,
 
I checked your link out. But unfortuantely It does not support any RTL language at all. It does not support changing direction from left-to-right to right-to-left. Should they eanble something to entering RTL text be enabled? A RTL language like Persian or Arabic is written from right to left. BTW that old trick, RIGHT-TO-LEFT EMBEDDING (U+202B) still works.
 
Please tell me if I could help more about RTL.
 
Afshar Mohebbi

On Sat, Jul 25, 2009 at 5:39 PM, Michiel Beijen <michiel@beefreeit.nl> wrote:
Afshar,

I know there is no setting ContentLangDirection in RichTextEditor by default, what I meant is that it IS a configuration setting and you could add it to RichTextEditor.dtl if you'd want to use it. Too bad that it does not alleviate your problem.
Can you please verify for me - as my Arabic skills are not up to spec ;-)  - if CKEditor v3, which is currently in the latest beta phase, does this better? Here's a web demo: http://ckeditor.com/ckeditor/3.0rc/_samples/skins.html

The idea is that the v3 release is better at RTL input, but I have no real way to check.

Note that the name has changed from FCKeditor to CKeditor in this release because FCK resembles a well-known four letter word...

Regards,
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl


On Sat, Jul 25, 2009 at 10:11, Afshar Mohebbi <afshar.mohebbi@gmail.com> wrote:
Dear Michiel,

There was not a setting in "RichTextEditor.dtl". Instead of it I added following:

oFCKConfig.Config["ContentLangDirection"] = 'rtl' ;

It worked but not helped so much. I tried "ctrl+right shfit" in IE too, but does not help too. All 2 solution can force the editor to accept the text in a RTL manner, but when a note or ticket is saved and displayed in OTRS again, all thing have bee gone bad. OTRS itself shows comments and ticket descriptions in LTR regardless of if you have used one of those 2 solutions! So we have TWO problem, one with FCKEditor that does not accept RTL text easily and another with OTRS that shows texts in just LTR.

As a workaround I insert unicode character RIGHT-TO-LEFT EMBEDDING (U+202B) in the begging of each text. It is well-known character in Unicode Annex#9 (Bidrectional algoirthm) and force a text to be displayed as a RTL text.

This bug is registered in Bugzilla with following URL:
http://bugs.otrs.org/show_bug.cgi?id=4038

Afshar Mohebbi


---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/