Skip to Content

البيدي الصايع version 2

Alaa's picture

ok finaly finished the bidi filter module

تقدروا دلوقتى تلخبطو عربى and english براحتكم عمو Alaa عملوكوا حبة بيدي من اللى القلب يحبوا

seriously the new module allows you to mix arabic and english text and it will set the direction of each paragraph according to which language you used.

note this only decides line direction, no attempt is made at doing anything smarter.

مشاكل

  • اللست المضمنة تظهر بدون ازاحات
    • هكذا مثلا

باقى عمله

  1. تعديل الثيم بحيث تحسب اتجاه العناوين

cheers, Alaa

MSameer's picture

واحد شاي حليب بو

واحد شاي حليب بوسطه للمعلم ;-)

DarKnesS_WolF's picture

ashta that will fix alot of p

ashta that will fix alot of problems :-) good work alaa ;)

SeeKeR's picture

nice work يا علاء

nice work يا علاء

THERE'S A FISHING , SO GO FISHING !!!!!

Alaa's picture

fixed the nested lists issue

  1. اللست المضمنة
    1. شغالة تمام
      • يا بشر
  • don't belive me, well check it out
    • but note that
      1. البيدى بيتعمل مع اللستة كلها ككيان واحد

BTW at the moment the algorithm determines the direction based on which language is more dominant (with a bit of bias to RTL), if you prefer a more commen determine direction based on one single char only please tell.

cheers, Alaa


whirlpool's picture

testing japanese

梅雨入り・梅雨明け

日本各地の地方気象台・気象庁では毎年梅雨入り・梅雨明けの発表をする。梅雨入り、梅雨明けしたと思われる時期に暫定的な発表を行い、例年9月頃、5月から8月の天候経過を総合的に検討して、最終的なものとしている。この際、梅雨入り、梅雨明けの期日の修正が行われたり、「特定せず」という表現になることがある。一般に、南の地域ほど梅雨の到来は早く、沖縄は5月中旬から6月下旬、東北・北陸では6月下旬から7月下旬頃となるのが平均的である。

梅雨期間の終了発表のことを俗に梅雨明け宣言というが、気象庁が宣言することによって、梅雨が明けるわけではない。基本的に、南から北の方向に梅雨明けになっていくが、必ずしもそのように順番になっていない場合もある。前線が一部地域に残存してしまうような場合には、より北の地方の方が先に梅雨明けになる場合もある。

梅雨明けの直前は豪雨になることが多く、逆に梅雨明け後から8月上旬くらいまでは「梅雨明け十日」と言って天候が安定することが多い。

Alaa, japanese is not right to left fix your filter!

whirlpool's picture

testing hebrew

מתוך ויקיפדיה, האנציקלופדיה החופשית.

לינוקס באנגלית היא ליבה למערכת הפעלה "חופשית" אשר קוד המקור שלה פתוח וזמין לכל דורש. היא פותחה על ידי לינוס טורבאלדס בשנת 1991. לינוס, שהיה אז סטודנט פיני ממוצע, רצה אפשרות לעבוד ביוניקס גם מהבית, במחשב האישי שלו. האפשרות הפופולארית ביותר הייתה מערכת הפעלה בשם מיניקס שפותחה על ידי אנדרו טננבאום מרצה באוניברסיטה הולנדית שפיתח את מיניקס כחלק מקורס אקדמי בנושא פיתוח מערכות הפעלה.

whirlpool's picture

testing korean

리눅스(Linux)는 리누스 토르발스가 제작한 유닉스와 유사한 자유 소프트웨어 커널이다. GNU 프로젝트와 함께 완전한 GNU/Linux 운영체제를 이루어 매우 빠르게 성장하고 있다.

YoussefAssad's picture

Oh. Err. Good.

Korean, so we, err.

We're testing Korean because, erm.

Korean support, ladies and gentlemen, is VITAL to EGLUG since...

Erm. Bone please.

--

whirlpool's picture

korean support is vital

so we dont descriminate or alienate the korean speaking mutant egyptians who bud off people in omranya

YoussefAssad's picture

Silly me

But of course.

Alaa, Korean is b0rked. Fix it.

--

Alaa's picture

korean isn't b0rked

only RTL languages other than arabic are b0rked at the moment.

which means hebrew and??

anyways I'm hacking this for our use, enlgish and arabic is all it detects, if anyone wants to figure our which languages use RTL which languages use LTR and which languages use RTL and which languages don't care and a shape of the UTF-8 multibyte character for each language be my guests.

cheers, Alaa


wt u're doing is just right

w maftekersh 7ad hena hay7ebb yekteb lena bel 3ebri walla el german 5ales ya3ni,, walla eh? :)

وسلام كبير اوى للبيدى الصايع belmarra b2a,, Define Bidi :P:D

wt u're doing is just right

w maftekersh 7ad hena hay7ebb yekteb lena bel 3ebri walla el german 5ales ya3ni,, walla eh? :)

وسلام كبير اوى للبيدى الصايع

belmarra b2a,, Define Bidi :P:D (I had to repeat this post because an error just occured,, the last 2 lines were in arabic and the 2nd in english and it displayed them in one line only,, it seems you still have some BuUgZz :( 4 sorry,, but all u did till now is just gr8,, keep going man! :) )

MSameer's picture

دولعلى line واحد

دولعلى line واحد

امادولعلى

3 lines

تخيل!

لا لازم انترمرتينعلشان اويكي يقفل ال فقره

CVirus's picture

wth

Looks spam to me :-p

Get my gpg key: gpg --recv-key --keyserver pgp.mit.edu 4CFE7230 Key Fingerprint: C5A6 BE2B 594A F616 E3C2

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | forum