OTRS 2.4.1's new text editor does not support RTL languages like Persian

Hi all! I just installed OTRS 2.4.1 and realized that we have had a step BACKWARD! While earlier versions of OTRS like 2.3.x was enabled to accept RTL languages in new ticket descriptions and ticket notes, the new OTRS 2.4.1 does not allow to enter any RTL script while creating a new ticket or commenting on existing tickets. It is because of its new rich text editor. This has right and left alignment but does not have RTL or LTR direction. In Earlier versions of OTRS if you have your preferences set to Persian (a RTL language), direction of text editors would be set to RTL automaticcaly. I think the best solution is to add a direction button to this rich text editor toolbar and set it automatically to RTL when user or agent have select Persian in his/her preferences. It could be expanded to alignment too, in the other hand alignment could be set automatically set to Right Alignment when user's environment is Persian. Gmail's compose new mail have a direction button in addition to alignment buttons too. * a RTL language is a language that is written right to left like Persian, Hebrew and Arabic. Many Thanks, Afshar Mohebbi

Hi Afshar,
Thanks for reporting this error.
There is a configuration flag for the editor that you could use to switch
the direction. Add the following line to
otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl at around line 25:
FCKConfig.ContentLangDirection = 'rtl' ;
This will however completely set the RTL direction for the whole of your
OTRS instance. I understand that a more elegant solution would be needed but
this might just be a workaround for you.
Can you please file a bug for this in the Bugzilla at http://bugs.otrs.org ?
Kindest regards,
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl
On Wed, Jul 22, 2009 at 10:19, Afshar Mohebbi
Hi all!
I just installed OTRS 2.4.1 and realized that we have had a step BACKWARD! While earlier versions of OTRS like 2.3.x was enabled to accept RTL languages in new ticket descriptions and ticket notes, the new OTRS 2.4.1 does not allow to enter any RTL script while creating a new ticket or commenting on existing tickets. It is because of its new rich text editor. This has right and left alignment but does not have RTL or LTR direction. In Earlier versions of OTRS if you have your preferences set to Persian (a RTL language), direction of text editors would be set to RTL automaticcaly. I think the best solution is to add a direction button to this rich text editor toolbar and set it automatically to RTL when user or agent have select Persian in his/her preferences. It could be expanded to alignment too, in the other hand alignment could be set automatically set to Right Alignment when user's environment is Persian. Gmail's compose new mail have a direction button in addition to alignment buttons too.
* a RTL language is a language that is written right to left like Persian, Hebrew and Arabic.
Many Thanks, 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/

Of course you could also decide to not use the rich text editor, you can
disable it in SysConfig. Then you'd have the same editor functionality as in
2.3.4 while you'd be able to leverage all other 2.4.x features.
I found that in Internet Explorer, the buttons ctrl + right shift would
switch text direction, but that switch will not be "remembered" by the
system.
Also, digging further, I found this to be an issue that other projects that
use the same editor (e.g. Drupal) are facing as well. This would be one of
the things to be solved in the next release of the editor, 3.0, which is now
in beta. You could decide to try and get the 3.0 beta working with your otrs
setup and see what happens. I have not (yet) found any timeline for the
fckeditor 3.0 release.
Regards,
--
Michiel Beijen
Software Consultant
+31 6 457 42 418
Bee Free IT + http://beefreeit.nl
On Jul 22, 2009 11:09 AM, "Michiel Beijen"
Hi all! > > I just installed OTRS 2.4.1 and realized that we have had a step BACKWARD! While ear...
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/

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
On Wed, Jul 22, 2009 at 3:23 PM, Michiel Beijen
Of course you could also decide to not use the rich text editor, you can disable it in SysConfig. Then you'd have the same editor functionality as in 2.3.4 while you'd be able to leverage all other 2.4.x features.
I found that in Internet Explorer, the buttons ctrl + right shift would switch text direction, but that switch will not be "remembered" by the system.
Also, digging further, I found this to be an issue that other projects that use the same editor (e.g. Drupal) are facing as well. This would be one of the things to be solved in the next release of the editor, 3.0, which is now in beta. You could decide to try and get the 3.0 beta working with your otrs setup and see what happens. I have not (yet) found any timeline for the fckeditor 3.0 release.
Regards,
-- Michiel Beijen Software Consultant +31 6 457 42 418 Bee Free IT + http://beefreeit.nl
On Jul 22, 2009 11:09 AM, "Michiel Beijen"
wrote: Hi Afshar,
Thanks for reporting this error.
There is a configuration flag for the editor that you could use to switch the direction. Add the following line to otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl at around line 25:
FCKConfig.ContentLangDirection = 'rtl' ;
This will however completely set the RTL direction for the whole of your OTRS instance. I understand that a more elegant solution would be needed but this might just be a workaround for you.
Can you please file a bug for this in the Bugzilla at http://bugs.otrs.org?
Kindest regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Wed, Jul 22, 2009 at 10:19, Afshar Mohebbi
wrote: Hi all! > > I just installed OTRS 2.4.1 and realized that we have had a step BACKWARD! While ear...
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/

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
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
On Wed, Jul 22, 2009 at 3:23 PM, Michiel Beijen
wrote: Of course you could also decide to not use the rich text editor, you can disable it in SysConfig. Then you'd have the same editor functionality as in 2.3.4 while you'd be able to leverage all other 2.4.x features.
I found that in Internet Explorer, the buttons ctrl + right shift would switch text direction, but that switch will not be "remembered" by the system.
Also, digging further, I found this to be an issue that other projects that use the same editor (e.g. Drupal) are facing as well. This would be one of the things to be solved in the next release of the editor, 3.0, which is now in beta. You could decide to try and get the 3.0 beta working with your otrs setup and see what happens. I have not (yet) found any timeline for the fckeditor 3.0 release.
Regards,
-- Michiel Beijen Software Consultant +31 6 457 42 418 Bee Free IT + http://beefreeit.nl
On Jul 22, 2009 11:09 AM, "Michiel Beijen"
wrote: Hi Afshar,
Thanks for reporting this error.
There is a configuration flag for the editor that you could use to switch the direction. Add the following line to otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl at around line 25:
FCKConfig.ContentLangDirection = 'rtl' ;
This will however completely set the RTL direction for the whole of your OTRS instance. I understand that a more elegant solution would be needed but this might just be a workaround for you.
Can you please file a bug for this in the Bugzilla at http://bugs.otrs.org ?
Kindest regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Wed, Jul 22, 2009 at 10:19, Afshar Mohebbi
wrote: Hi all! > > I just installed OTRS 2.4.1 and realized that we have had a step BACKWARD! While ear...
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/
--------------------------------------------------------------------- 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/

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
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
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
On Wed, Jul 22, 2009 at 3:23 PM, Michiel Beijen
wrote: Of course you could also decide to not use the rich text editor, you can disable it in SysConfig. Then you'd have the same editor functionality as in 2.3.4 while you'd be able to leverage all other 2.4.x features.
I found that in Internet Explorer, the buttons ctrl + right shift would switch text direction, but that switch will not be "remembered" by the system.
Also, digging further, I found this to be an issue that other projects that use the same editor (e.g. Drupal) are facing as well. This would be one of the things to be solved in the next release of the editor, 3.0, which is now in beta. You could decide to try and get the 3.0 beta working with your otrs setup and see what happens. I have not (yet) found any timeline for the fckeditor 3.0 release.
Regards,
-- Michiel Beijen Software Consultant +31 6 457 42 418 Bee Free IT + http://beefreeit.nl
On Jul 22, 2009 11:09 AM, "Michiel Beijen"
wrote: Hi Afshar,
Thanks for reporting this error.
There is a configuration flag for the editor that you could use to switch the direction. Add the following line to otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl at around line 25:
FCKConfig.ContentLangDirection = 'rtl' ;
This will however completely set the RTL direction for the whole of your OTRS instance. I understand that a more elegant solution would be needed but this might just be a workaround for you.
Can you please file a bug for this in the Bugzilla at http://bugs.otrs.org ?
Kindest regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Wed, Jul 22, 2009 at 10:19, Afshar Mohebbi
wrote: Hi all! > > I just installed OTRS 2.4.1 and realized that we have had a step BACKWARD! While ear...
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/
--------------------------------------------------------------------- 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/

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
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
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
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
On Wed, Jul 22, 2009 at 3:23 PM, Michiel Beijen
wrote: Of course you could also decide to not use the rich text editor, you can disable it in SysConfig. Then you'd have the same editor functionality as in 2.3.4 while you'd be able to leverage all other 2.4.x features.
I found that in Internet Explorer, the buttons ctrl + right shift would switch text direction, but that switch will not be "remembered" by the system.
Also, digging further, I found this to be an issue that other projects that use the same editor (e.g. Drupal) are facing as well. This would be one of the things to be solved in the next release of the editor, 3.0, which is now in beta. You could decide to try and get the 3.0 beta working with your otrs setup and see what happens. I have not (yet) found any timeline for the fckeditor 3.0 release.
Regards,
-- Michiel Beijen Software Consultant +31 6 457 42 418 Bee Free IT + http://beefreeit.nl
On Jul 22, 2009 11:09 AM, "Michiel Beijen"
wrote: Hi Afshar,
Thanks for reporting this error.
There is a configuration flag for the editor that you could use to switch the direction. Add the following line to otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl at around line 25:
FCKConfig.ContentLangDirection = 'rtl' ;
This will however completely set the RTL direction for the whole of your OTRS instance. I understand that a more elegant solution would be needed but this might just be a workaround for you.
Can you please file a bug for this in the Bugzilla at http://bugs.otrs.org ?
Kindest regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Wed, Jul 22, 2009 at 10:19, Afshar Mohebbi < afshar.mohebbi@gmail.com> wrote:
> Hi all! > > I just installed OTRS 2.4.1 and realized that we have had a step BACKWARD! While ear...
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/
--------------------------------------------------------------------- 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/

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
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
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
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
On Wed, Jul 22, 2009 at 3:23 PM, Michiel Beijen
wrote: Of course you could also decide to not use the rich text editor, you can disable it in SysConfig. Then you'd have the same editor functionality as in 2.3.4 while you'd be able to leverage all other 2.4.x features.
I found that in Internet Explorer, the buttons ctrl + right shift would switch text direction, but that switch will not be "remembered" by the system.
Also, digging further, I found this to be an issue that other projects that use the same editor (e.g. Drupal) are facing as well. This would be one of the things to be solved in the next release of the editor, 3.0, which is now in beta. You could decide to try and get the 3.0 beta working with your otrs setup and see what happens. I have not (yet) found any timeline for the fckeditor 3.0 release.
Regards,
-- Michiel Beijen Software Consultant +31 6 457 42 418 Bee Free IT + http://beefreeit.nl
On Jul 22, 2009 11:09 AM, "Michiel Beijen"
wrote: Hi Afshar,
Thanks for reporting this error.
There is a configuration flag for the editor that you could use to switch the direction. Add the following line to otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl at around line 25:
FCKConfig.ContentLangDirection = 'rtl' ;
This will however completely set the RTL direction for the whole of your OTRS instance. I understand that a more elegant solution would be needed but this might just be a workaround for you.
Can you please file a bug for this in the Bugzilla at http://bugs.otrs.org ?
Kindest regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Wed, Jul 22, 2009 at 10:19, Afshar Mohebbi < afshar.mohebbi@gmail.com> wrote:
> > Hi all! > > I just installed OTRS 2.4.1 and realized that we have had a step BACKWARD! While ear... --------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

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
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
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
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
On Wed, Jul 22, 2009 at 3:23 PM, Michiel Beijen
wrote: Of course you could also decide to not use the rich text editor, you can disable it in SysConfig. Then you'd have the same editor functionality as in 2.3.4 while you'd be able to leverage all other 2.4.x features.
I found that in Internet Explorer, the buttons ctrl + right shift would switch text direction, but that switch will not be "remembered" by the system.
Also, digging further, I found this to be an issue that other projects that use the same editor (e.g. Drupal) are facing as well. This would be one of the things to be solved in the next release of the editor, 3.0, which is now in beta. You could decide to try and get the 3.0 beta working with your otrs setup and see what happens. I have not (yet) found any timeline for the fckeditor 3.0 release.
Regards,
-- Michiel Beijen Software Consultant +31 6 457 42 418 Bee Free IT + http://beefreeit.nl
On Jul 22, 2009 11:09 AM, "Michiel Beijen"
wrote: Hi Afshar,
Thanks for reporting this error.
There is a configuration flag for the editor that you could use to switch the direction. Add the following line to otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl at around line 25:
FCKConfig.ContentLangDirection = 'rtl' ;
This will however completely set the RTL direction for the whole of your OTRS instance. I understand that a more elegant solution would be needed but this might just be a workaround for you.
Can you please file a bug for this in the Bugzilla at http://bugs.otrs.org ?
Kindest regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Wed, Jul 22, 2009 at 10:19, Afshar Mohebbi < afshar.mohebbi@gmail.com> wrote:
> > > Hi all! > > I just installed OTRS 2.4.1 and realized that we have > had a step BACKWARD! While ear... > --------------------------------------------------------------------- > 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/
--------------------------------------------------------------------- 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/
--------------------------------------------------------------------- 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/

Hi, JFI, bug is fixed now and will be available in 2.4.2. :) http://bugs.otrs.org/show_bug.cgi?id=4038 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
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
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
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
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
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

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
Hi, JFI, bug is fixed now and will be available in 2.4.2. :)
http://bugs.otrs.org/show_bug.cgi?id=4038
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
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
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/

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
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
wrote: Hi, JFI, bug is fixed now and will be available in 2.4.2. :)
http://bugs.otrs.org/show_bug.cgi?id=4038
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
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
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/
participants (4)
-
Afshar Mohebbi
-
Martin Edenhofer
-
masood ramezani
-
Michiel Beijen