Forum RTL support Forum is not supporting RTL
#1
Posted 28 April 2011 - 02:02 AM
I have to mentioned that the forums doesn't support RTL messages.
In the international section we come across problems in sending both Persian and English messages. I guess we have the same problem in Arabic and Hebrew because they need RTL support too.
I recommend using a better WYSWIG editor which support RTL or change the forum style.
In addition,I guess there is no Persian moderator in international section and this make Persian Yii users connection to Yii Developers a little hard. Hence , i suggest choosing a moderator through an election in Persian section.Also I can be a candidate.
Thank you very much
Best Regards,
Bamdad Dashtban
#2
Posted 28 April 2011 - 02:14 AM
#3
Posted 28 April 2011 - 02:15 AM
please help us
we need to write our topics in persian, so we need RTL suppurt in related TextArea.
tanks alot
#5
Posted 28 April 2011 - 04:02 AM
bamdad dashtban, on 28 April 2011 - 02:02 AM, said:
When you go to the Persian forum - http://www.yiiframew...rum/41-persian/
Take a look a bit down there is the text "Forum Led By", there you can see that @Ali Borjian is the moderator...
#6
Posted 28 April 2011 - 09:29 AM
mdomba, on 28 April 2011 - 04:02 AM, said:
Take a look a bit down there is the text "Forum Led By", there you can see that @Ali Borjian is the moderator...
Thank you I haven't noticed that , the main issue that I opened this topic is 'The RTL Support' ,is there any chance to add RTL support in editor tags , therefore users can insert RTL formatted text correctly?
#7
Posted 28 April 2011 - 04:57 PM
#9
Posted 03 May 2011 - 06:10 AM
the WYSIWYG is good, and i'll explain what we mean and where the problem appear :
when we use the BBCode
[right] ..... [ /right]
and mixing RTL words with LTR (for example: Arabic with English words) then the words order flipped !!
to be more clear .. the sentence should appear like this:
( ArabicWord1 EnglishWord ArabicWord2)
instead of
( ArabicWord2 EnglishWord ArabicWord1)
this is really confusing when writing new Topic or replaying !!
-----------------------
the solution is really simple.
the BBCode used in RTL (Align Right) will end up with the following HTML/CSS class:
<span class="bbc_right"> Bla Bla Bla.. </span>
with specific CSS:
div.bbc_right {
display: block;
text-align: right;
}
the solution is to add direction property :
direction: rtl;
to be like this:
div.bbc_right {
display: block;
text-align: right;
direction: rtl;
}
this will help us a lot at this point to write in our languages freely.
Note: i already tested the above solution in Firebug and it is working.
thank you all
#10
Posted 03 May 2011 - 06:42 AM
And the solution would need to be as simple as possible because of future forum software updates...
#11
Posted 03 May 2011 - 07:46 AM
Quote
first thanks for your concern
the good news is the property :
direction: rtl;
is all we need !! and it will not affect any LTR Language when use the BBCode (Align Right),,
and there is no need to make any exceptions for any languages or forums.
this problem is common in any RTL language and will not appear in any cases except when mixing RTL with LTR and vise versa .. and the above solution will do the trick.
you can do a heavy testing for this solution before apply it, to make sure it will not affect any other part of the whole forum (and also site).
you can do a quick demonstration and test for this problem at :
Here
(you can put any arabic word in the middle of the text and see the deferent between rtl and ltr)
عربي
thanks
#12
Posted 04 May 2011 - 11:37 PM
#13
Posted 05 May 2011 - 02:12 AM
[rtl] some text [/rtl]
Please test it and let me know if it solves your problem.
#14
Posted 05 May 2011 - 05:40 AM
and adding icons in the editor is more efficient and handy specially for new members.
just like TinyMCE and CKEditor.

Help















