Mobile menu

Pages in topic:   [1 2 3] >
Right-left Arabic in HTML page كتابة النص العربي من اليمين إلى اليسار في المنتديات
Thread poster: ahmadwadan.com

ahmadwadan.com  Identity Verified
Kuwait
Local time: 02:36
English to Arabic
+ ...
Dec 18, 2006

السلام عليكم
لقد لاحظت أن معظم المشاركات المكتوبة باللغة العربية في هذا المنتدى تكون من اليسار إلى اليمين مما يجعل النص العربي يبدو بشكل سيء مع أن الحل بسيط وهو كالتالي:


مجرد كتابة سطرين اتش تي ام ال (HTML tags)، سطر قبل بداية النص العربي وسطر آخر بعده كما يلي:

<div align=right dir=rtl>
هنا يكتب النص العربي
<div/>


There is a way that enables us writing Arabic in forums without jumbling. Here is the way using

simple HTML code:
Tag 1: <div align=right dir=rtl>
Arabic text goes here between the 2 tags.
Tag 2: </div>

Kind regards
Ahmed Wadan
English-Arabic Financial Translator
http://wadan.arablish.com


[Edited at 2006-12-18 19:33]


Direct link Reply with quote
 
Fuad Yahya  Identity Verified
Arabic
+ ...
End-of-line punctuation Dec 18, 2006

Thank you, Ahmad, for your technical tips. Do you have a tag or other solution that would help force the end-of-line punctuation mark (period, colon, etc.) stay on the left end of the line rather than switch to the right end? Thank you.

Direct link Reply with quote
 

ahmadwadan.com  Identity Verified
Kuwait
Local time: 02:36
English to Arabic
+ ...
TOPIC STARTER
Sure... Dec 18, 2006

Fuad Yahya wrote:

Thank you, Ahmad, for your technical tips. Do you have a tag or other solution that would help force the end-of-line punctuation mark (period, colon, etc.) stay on the left end of the line rather than switch to the right end? Thank you.


Sure, only I have to test the solution with Proz website to check if it is working. Inshallah you may find the solution soon if applicable.

Note: The view changes when you use different browsers (Internet Explorer & Firefox).

Kind regards
Ahmad Wadan
English-Arabic Financial Translator
http://wadan.arablish.com



[Edited at 2006-12-18 07:45]


Direct link Reply with quote
 

Khalid Nasir
Iraq
Local time: 02:36
English to Arabic
+ ...
Good Point, Ahmed Dec 18, 2006

Thanks Ahmed. I will take in my future writing in forums. I saved it in my computer.

[Edited at 2006-12-18 07:41]

[Edited at 2006-12-18 09:34]


Direct link Reply with quote
 

Ehab Tantawy  Identity Verified
Local time: 01:36
Member (2006)
English to Arabic
+ ...
Great Dec 18, 2006

Dear Brother Ahmed

Actually, you are very helpful really.

Thanks for your interest in helping others.

Thanks for your time



جزاكم الله ألف خير
أخوك إيهاب طنطاوي


Regards,
Ehab


Direct link Reply with quote
 

ahmadwadan.com  Identity Verified
Kuwait
Local time: 02:36
English to Arabic
+ ...
TOPIC STARTER
على الرحب والسعة Dec 18, 2006

Ehab Tantawy wrote:

Dear Brother Ahmed

Actually, you are very helpful really.

Thanks for your interest in helping others.

Thanks for your time

Regards,
Ehab



على الرحب والسعة يا سيد إيهاب


Direct link Reply with quote
 

Nesrin  Identity Verified
United Kingdom
Local time: 00:36
English to Arabic
+ ...
This is a test Dec 18, 2006

هذا مجرد اختبار.
ماذا يحدث إذا كتبت كلمة بالإنجليزية في وسط الجملة like this؟
ولماذا بقيت الـhtml tags ظاهرة في رسالتك رغم أنها عادة ما تختفي؟
شكرا يا أستاذ أحمد على هذه الإضافة القيمة!



Added later:

Thanks again Ahmed. It's strange that the full-stop in my first line correctly appeared at the end of the sentence, but the exclamation mark on my last line didn't. Also it seems it's still not possible to get the sentence in the right order if you want to insert an English word in the middle.

But the tags disappeared - that's good!




[Edited at 2006-12-18 09:29]


Direct link Reply with quote
 

ahmadwadan.com  Identity Verified
Kuwait
Local time: 02:36
English to Arabic
+ ...
TOPIC STARTER
Punctuations & English within Arabic context Dec 18, 2006

Nesrin wrote:


هذا مجرد اختبار.
ماذا يحدث إذا كتبت كلمة بالإنجليزية في وسط الجملة like this؟
ولماذا بقيت الـhtml tags ظاهرة في رسالتك رغم أنها عادة ما تختفي؟
شكرا يا أستاذ أحمد على هذه الإضافة القيمة!



Added later:

Thanks again Ahmed. It's strange that the full-stop in my first line correctly appeared at the end of the sentence, but the exclamation mark on my last line didn't. Also it seems it's still not possible to get the sentence in the right order if you want to insert an English word in the middle.

But the tags disappeared - that's good!




[Edited at 2006-12-18 09:29]


Hi Nesrin,
You and Fuad arouse 2 points:
- Punctuations
- English within Arabic context

ِAs for HTML tags that appeared in my post and disappeared in yours, I did that using a trick which is replacing "<" and ">" with "& l t ;" & "& g t ;" respectively but without spaces.

If there is a solution ever existed I’ll do my best to get it and come back to you later on ISA.
Regards
Ahmad without Ostaz


[Edited at 2006-12-18 11:23]


Direct link Reply with quote
 

Nesrin  Identity Verified
United Kingdom
Local time: 00:36
English to Arabic
+ ...
شكراً يا أستاذ أحمد Dec 18, 2006

أستاذ في الـ إتش تي إم إل...


Direct link Reply with quote
 

Ala Rabie  Identity Verified
Egypt
Local time: 01:36
Japanese to Arabic
+ ...
rtl-ing Dec 18, 2006

Fuad Yahya wrote:

Thank you, Ahmad, for your technical tips. Do you have a tag or other solution that would help force the end-of-line punctuation mark (period, colon, etc.) stay on the left end of the line rather than switch to the right end? Thank you.


If I understand you correctly, Fuad, then this should work:

<div align=right dir=rtl>هاللو Hello World وورلد!</div>
هاللو Hello World وورلد!

Without rtl:
هاللو Hello World وورلد!

~Ala
alamnesis.com

[Edited at 2006-12-18 16:12]


Direct link Reply with quote
 
Fuad Yahya  Identity Verified
Arabic
+ ...
This seems to work Dec 18, 2006

enshrine wrote:

If I understand you correctly, Fuad, then this should work:

هاللو Hello World وورلد!
هاللو Hello World وورلد!

Without rtl:
هاللو Hello World وورلد!



I see the exclamation point on the left side, where it belongs. Thank you very much.


Direct link Reply with quote
 

ahmadwadan.com  Identity Verified
Kuwait
Local time: 02:36
English to Arabic
+ ...
TOPIC STARTER
شكرا جزيلا Dec 18, 2006

[quote]enshrine wrote:


اللو Hello World وورلد![/rtl]






شكرا جزيلا على هذه الإضافة:
وأكثر الله من أمثالك!
وكان في عونك؟
الآن يمكن كتابة HTML tags وكلمات إنجليزية بين الكلمات العربية!!!
الآن أستطيع تعديل HTML tags أعلاه وفقا لهذه الإضافة الرائعة.


[Edited at 2006-12-18 19:18]


Direct link Reply with quote
 

Ehab Tantawy  Identity Verified
Local time: 01:36
Member (2006)
English to Arabic
+ ...
ما شاء الله Dec 19, 2006

enshrine wrote:

Fuad Yahya wrote:

Thank you, Ahmad, for your technical tips. Do you have a tag or other solution that would help force the end-of-line punctuation mark (period, colon, etc.) stay on the left end of the line rather than switch to the right end? Thank you.


If I understand you correctly, Fuad, then this should work:

هاللو Hello World وورلد!
هاللو Hello World وورلد!

Without rtl:
هاللو Hello World وورلد!

~Ala
alamnesis.com

[Edited at 2006-12-18 16:12]






ألف شكر Thanks a lot my brother يا أخي الحبيب

ُEhab


Direct link Reply with quote
 

ahmadwadan.com  Identity Verified
Kuwait
Local time: 02:36
English to Arabic
+ ...
TOPIC STARTER
علاء قد أجاب سؤالك Dec 19, 2006

Nesrin wrote:


ماذا يحدث إذا كتبت كلمة بالإنجليزية في وسط الجملة like this؟

شكرا يا أستاذ أحمد على هذه الإضافة القيمة!







ماذا يحدث إذا كتبت كلمة بالإنجليزية في وسط الجملة like this؟
إضافة علاء رائعة، أليس كذلك؟


Direct link Reply with quote
 

Ala Rabie  Identity Verified
Egypt
Local time: 01:36
Japanese to Arabic
+ ...
yqw! Dec 19, 2006

تسلموا يا جماعة

أعيادكم حلوة (f)

~Ala
alamnesis.com


Direct link Reply with quote
 
Pages in topic:   [1 2 3] >


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Right-left Arabic in HTML page كتابة النص العربي من اليمين إلى اليسار في المنتديات

Advanced search






Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »
PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »



All of ProZ.com
  • All of ProZ.com
  • Term search
  • Jobs