Updated – OS X Arabic Problems | محدّث – مشاكل اللغة العربية في أنظمة الماك

29/05/2011

Since I bought my Macbook Pro I found a hell a lot of problems concerning Arabic in OS X. Arabic obviously isn’t supported very well on OS X, but surprisingly is well supported on iOS! I will compile here a list of each problem I encounter and try to provide the solution for it.

  • The Arabic keyboard layout: The first thing you’ll notice when you move from Windows or Linux to OS X is that the layout  of the keyboard is different. You’ll also notice some missing diacritics like Shaddah. The solution: To fix this problem you have to create or download a layout file and import it into OS X. I found some files on the Internet, but I didn’t like them, so I decided to create my own. I will post it when I’m done with it.
  • Java applications doesn’t render arabic fonts correctly: It seems like the OS X’s java version has some bugs related to rendering Arabic fonts. You’ll see the words very ugly and sometimes the letters are disconnected. I haven’t found a solution to this yet. Here’s a screenshot to show the problem:  Update: The solution to this problem is to use the Apple’s “Quartz” renderer. Just add this flag when you’re launching the application: $ java -Dapple.awt.graphics.UseQuartz=true -jar YourApp.jar. To learn more about the issue, check Tor Norbye’s post.
  • Most professional word processors don’t support Arabic:  Microsoft Office 2011 for Mac, iWork (Pages) all don’t support Arabic. Even tho Pages display the Arabic characters correctly, but it’s very difficult to modify or correct a word, in one word it’s completely useless for Arabic. The solution: Grap a copy of Nisus Writer it supports Arabic very well and right-to-left languages. OpenOffice is still a good solution but i’m not sure how good it is with right-to-left languages. In case you’re a developer I’m sorry to tell you that TextMate, TextWrangler and Vim (not sure of Emacs) don’t support Arabic as well! But Coda and Eclipse have fairly good text editors and support Arabic. Update 1: xCode’s editor doesn’t support Arabic as well!

 

منذ أن قمت بشرائي لماك بوك برو وقد واجهت العديد من المشاكل في دعم اللغة العربية في نظام أو إس إكس OS X. الذي كان واضحاً هو بأن اللغة العربية غير مدعومة بشكل جيد في أو إس إكس  OS X على خلاف الدعم الممتاز للعربية في نظام آي أو إس iOS للأيفون. لذا قررت أن أكتب عن كل مشكلة أواجهها مع محاولة وضع الحلول.

١- تغيير مواضع الأحرف العربية في الكيبورد: أول ما سوف تلاحظه عندما تكتب هو تغير أماكن بعض الحروف العربية على لوحة المفاتيح، أو حتى غياب بعض علامات التشكيل مثلا الشدة. حيث أن أماكن الأحرف مختلفة عما إعتدنا عليه في ويندوز ولينوكس. الحل: يجب إنشاء أو تحميل ملف خاص بإعادة ترتيب أماكن الحروف العربية وإضافته إلى إعدادات لوحة المفاتيح. لقد وجدت عدة ملفات بخصوص هذا الموضوع على الإنترنت ولكنها لم تعجبني للنقص الموجود فيها. أنا حالياً أعكف على إنشاء ملف جديد وكامل للحروف العربية، عندما أنتهي منه سوف أضعه هنا للتحميل.

٢- البرامج المكتوبة بلغة جافا لا تظهر الخطوط العربية بشكل جيد: سوف تلاحظ أن البرامج المكتوبة بلغة الجافا لا تقوم برسم أو عرض الخطوط العربية بشكل صحيح، حيث تظهر الكلمات والحروف بشكل بشع أو حتى أحياناً تكون الحروف منفصلة. لم أجد حلاً حتى الآن لهذه المشكلة. انظر للصورة التالية التي تبين المشكلة:

تحديث: حل هذه المشكلة يكمن باستخدام Apple’s “Quartz” renderer. فقط قم بإضافة هذا الخيار عند تشغيل البرنامج:

java -Dapple.awt.graphics.UseQuartz=true -jar YourApp.jar $

لقراءة المزيد عن هذه المشكلة، قم  بزيارة هذا المقال لتور نوربي.

٣- محررات النصوص المعروفة لا تدعم اللغة العربية: مايكروسوفت أوفيس ٢٠١١ و iWork لا يدعمان اللغة العربية! بالرغم من أنك تستطيع الكتابة باللغة العربية في برنامج Pages الموجود في حزمة iWork إلا أنك سوف تلاحظ العديد من الصعوبات أثناء تعديل النص أو الحذف مثلاً، بمعنى آخر لا يمكن الإعتماد عليه نهائياً في كتابة النصوص العربية. الحل: قم بشراء نسخة من برنامج Nisus Writer حيث يدعم اللغة العربية واللغات التي تكتب من اليمين إلى اليسار بشكل ممتاز. أما إن كنت أحد المطورين فاسمح لي بأن أزف لك خبراً غير سار نهائياً، حيث أن محررات النصوص المشهورة مثل TextMate و TextWrangler و Vim لا يدعمون اللغة العربية (غير متأكد من Emacs)! أما الحل لهذه المشكلة هي باستخدام Eclipse أو Coda فهما يحتويان على محررات نصوص جيدة ويدعمان اللغة العربية بشكل جيد. تحديث ١: محرر برنامج xCode لا يدعم اللغة العربية أيضاً!

 

No comments yet.

Write a comment: