Skip Header
Teaching and Learning with Technology
Computing With Accents and Foreign Scripts
TLT Home : TLT Suggestions Skip Menu

Arabic

This Page

  1. About the Arabic Script
  2. Windows Utilities for Arabic
  3. Macintosh Utilities for Arabic
  4. Browser and Font Recommendations
  5. Web Development
    1. Language Code: ar (Arabic)
    2. See additional country code variants
    3. See additional ISO-639-3 language code
  6. Colloquial Arabic Forms
  7. Other Arabic Script Languages New Pages
  8. Links

About the Arabic Script

The Arabic script has two features which make it unique in terms of encoding. One is that it is written from right to left (or RTL). The other feature is that the shapes of individual letters change forms depending on whether the letter is alone, at the beginning of a word, the middle of a word or at the end.

In order to process Arabic correctly, a software must be able to display text from right to left and make sure the letter forms are displayed correctly depending on their positions within a word. Unfortunately, there is incomplete implementation of creating correct letter forms in many software packages.

Other Languages in Arabic Script

The Arabic script is used for other languages besides Arabic, but their local alphabets may include special characters for sounds not found in Arabic. Supporting these languages may require special fonts for extra keyboards and special keyboards.

See the following pages for more details.

Top of Page

Windows Utilities for Arabic

Basic Setup

In order to integrate foreign scripts into your computer, you must set up "keyboard" utilities in your operating system. Keyboards will allow you to switch between typing English and other languages in word processors and Web tools. This process will also make sure the correct fonts are installed are availble for Windows or Macintosh.

Global Writer

Global Writer (Student Computing Labs)

As of Spring 2005, the international word processor Global Writer is available in the Student Computing Labs. This allows users to easily switch keyboards, including phonetic keyboards which mimic a QWERTY keyboard.

CLC Student Computing Labs: To open Global Writer, go to the Start » Internatinal Language Support » Unitype Global Writer.

Global Writer is available from Unitype for personal purchace.

Microsoft Keyboard Utilities

Microsoft provides a variety of free keyboard utlities, but they must be installed from the disk, then activated from the Regional Control Panel. Both standard and AZERTY layouts are available.

In AZERTY layouts, the Arabic letters mapped to similar to a French keyboard (in French keyboards, the upper right key is A, not Q).

Step 1 - Install Utilities

Student Computing Labs - The utilities are installed in the University Park Student Computing Labs, but students must install the utlities by going to the Start menu then International Language Support » Microsoft » Office Microsoft Office Asian Character Input Support.

Home Computers - Several Asian and Middle Eastern keyboards are available in Windows, but you may have to install it from the Windows System disk because it is a complex script. After that you can activate the keyboards from the Regional Control Panel.

See Windows East Asian and Complex Script Keyboards for detailed instructions with screen captures.

Step 2 - Activate from Control Panel

Once the keyboards have been installed, they must be activated in the Regional Control Panel. Read the summary instructions below or go to East Asian and Complex Scripts Keyboards for detailed instructions with screen captures.

  1. Go to Start then Control Panels then Regional and Language Options. Follow the instructions for Activating the Language Bar
  2. While in the Regional and Language Options control panel, click on the Languages tab, then the Details button.
  3. Click the Add button and select the appropriate language from the Input Language pull down menu.
  4. Click the OK buttons until you have exited the control panels - this will save the changes in your Profile.
  5. Open any Windows application then make sure the Language Bar menu on top is set to the correct language.

Outside the Lab

Microsoft provides a Arabic keyboard, but it may need to be installed from the Windows System disk. See the Windows Complex Scripts Keyboard Instructions for details on how to activate the keyboard. To see where the critical keys are, go to the Microsoft Keyboard Layouts Page.

Vista Instructions

See the Microsoft Arabic Support Page for instructions for Vista with screencaptures.

RTL in Word

[an error occurred while processing this directive]

Right to Left Typing in Word for Windows

See instructions for configuring right to left typing in Word for tips on how to type RTL languages.

Windows Vista Updates

Microsoft has developed new fonts and utilites for Arabic. See the Microsoft Arabic Support page for additional details.

Top of Page

Macintosh Utilites for Arabic

Both Arabic and QWERTY Arabic keyboard are available in Macintosh, but you may have to install it from the Macintosh System disk because it is a complex script.

Student Computing Labs - Many language keyboards have been activated in the labs and are available through the flag menu on the upper right. Skip to Step #4 in the instructions below.

Home Computers - A variety of keyboards are available from Apple, but you may have to install it from the Macintosh System disk then they can be activated through the International System Preferences. See details below.

To Use Keyboards

  1. Go to the Apple menu and open Systems Preferences.
  2. Click the International icon on the first row of the Systems Preferences panel.
  3. Click the Input Menu or the Keyboard Menu (OS X 10.2) tab and check the keyboards you want activated.
  4. Open a software application such as a word processor, spread-sheet or any other application in which you need to enter text.
  5. On the upper right portion of the screen, click on the American flag icon (U.S. Flag Icon). Use the dropdown menu to select a script or language.
  6. The keyboard will be switched and an appropriate font will be selected within the application. A flag icon corresponding to the keyboard will be displayed on the upper right.
  7. To switch back to the U.S. keyboard or to some other keyboard, click on the flag icon on the upper right and select a keyboard from the dropdown menu.

See the Macintosh Keyboard Activation for complete instructions with screen captures.

Additional Macintosh RTL Tips

See tips for creating Mac Right-to-Left documents (including alternatives to Microsoft Office) for more information.

Top of Page

Browser and Font Recommendations

Test Sites

If you have your browser configured correctly, the Web sites above should display the correct characters. If you have difficulties, see list below for font and browser configuration instructions.

www.linux4arab.com/

Fonts by Platform

Additional freeware fonts can be downloaded from from the sites below, and some include Persian support. Note that not all these fonts may work on System 9 for Macintosh, but will work in Windows and OS X .

See also

Recommended Browsers

Browsers which fully support Unicode are the strongly recommended. Click link in list to view configuration instructions. You will be asked to match a script with a font.

Manually Switch Encoding

If you see Roman character gibberish instead of Arabic you will need to manually switch from Western encoding view to the Arabic or Unicode encoding under the View menu of your browser.

Top of Page

Web Development

Arabic Encoding and Languge Tags

See Using Encoding and Language Codes for more information on the meaning and implementation of these codes.

Suggested Encodings

Selected Language Tags

See Using Encoding and Language Codes for more information on the meaning and implementation of these codes.

Inputting and Editing Text

One option is to use FrontPage, Netscape/Mozilla Composer or Dreamweaver and change the keyboard to the correct script.  Make sure you specify the encoding in the Web page header.

Another option is to compose the basic text in an international or foreign languags text editor or word processor and export the content as an HTML or text file with the appropriate encoding. This file could be opened in another HTML editor such as FrontPage or Dreamweaver an edited for formatting.

Specifying Text Direction

Some HTML editors set the direction of the text automatically. but it can also be set manually by using the newer <dir> and <bdo> attributes. See the Right-to-Left Alignment Tips page for more details.

PDF and Image Files

In some cases, your best options may be to use PDF files or image files. See the Web Development Tips section for more details.

Using Encoding and Language Codes

Computers process text by assuming a certain encoding or a system of matching electronic data with visual text characters. Whenever you develop a Web site you need to make sure the proper encoding is specified in the header tags; otherwise the browser may default to U.S. settings and not display the text properly.

To declare an encoding, insert or inspect the following meta-tag at the top of your HTML file, then replace "???" with one of the encoding codes listed above. If you are not sure, use utf-8 as the encoding.

Generic Encoding Template

<head>
<meta http-equiv="Content-Type" content="text/html; charset=??? ">
...
<head>

Declare Unicode

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8 ">
...
<head>

XHTML

The final close slash must be included after the final quote mark in the encoding header tag if you are using XHTML

Declare Unicode in XHTML

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
...
<head>

No Encoding Declared

If no encoding is declared, then the browser uses the default setting, which in the U.S. is typically Latin-1. In that case many Unicode characters could be displayed incorrectly. Also, older browsers such as Netscape 4.7 may not be able to process the entity codes correctly without the "utf-8" declaration.

Language Tags

Language tags are also suggested so that search engines and screen readers parse the language of a page. These are meta data tags which indicate the page of a language, not devices to trigger translation. Visit the Language Tag page to view information on where to insert it.

Top of Page

Colloquial Arabic Forms

About Colloquial Arabic

Although most educated speakers learn to read, write and speak in the same Modern Standard Arabic or fusha (a form similar to the Classical Arabic used in the Koran), the spoken or colloquial varieties from each region vary widely. The variation is enough that linguists classify the totality of these forms as a series of closely related languages.

Colloquial Forms include

Maltese

One local form which is written is Maltese Arabic from the island of Malta. Malta is formally a part of the European Union and uniquely uses the Western Roman alphabet. It's grammar has diverged further than some of the other forms of Arabic, but shares similarities with North African Arabic forms.

See the Maltese page for additional information writing the accents.

Language Codes

The use of Colloquial Arabic in formal writing is used for most formal publications, but can be found in some television dramas, local poems and local plays. If you are transcribing one of these forms, then it is recommended that one of the following language tags be used.

By Country Code

The following codes, as implemented by Microsoft, assume there is one variety of Arabic per country. The advantage of these codes is that there are utilities such as spell checkers which may be available, however there are colloquial forms which do not conform to national boundaries.

Note: The Subsaharan African codes have not been implemented by Microsoft.

ISO-639-3 Codes

These ISO-639-3 codes from SIL codes are meant to match linguistic classification of the Colloquial Arabic forms and do not always match national boundaries.

Name Code Location
Algerian arq Algeria
Algerian Saharan aao Algeria (minority language)
Babalia Creole Arabic bbz Chad (minority language)
Baharna Arabic abv Bahrain
Chadian Arabic shu Chad
Cypriot Arabic acy Cyprus (minority language)
Dhofari Arabic adf Oman (Salala)
Egyptian arz Egypt
Egyptian (Eastern) Bedawi avl Sinai (Bedouin), Gaza, Red Sea coast
Gulf Arabic afb Persian Gulf (Bahrain, Iran, Kuwait, Oman, Qatar, Saudi Arabia, United Arab Emirates, Yemen. Zubair & Fau Peninsula
Hadrami ayh Yemen, minority language
Hijazi Arabic acw Saudi Arabia, Red Sea coast
Levantine (South) ajp Jordan, Palestine, Israel, Kuwait
Levantine (North) apc Syria, Lebanon
Mesopotamian acm Iraq, eastern Jordan/Syria, western Iran, Turkey
Mesopotamian (North) ayp Tigris & Euphrates north of Baghdad
Moroccan ary Morocco
Nadji ars Saudi Arabia
Omani Arabic acx Oman, Hajar Mountains
Saidi Arabic aec Southern Egypt
Sanaani ayn Northern Yemen
Standard arb Formal written standard
Sudanese apd Sudan
Sudanese Creole Arabic pga Southern Sudan (minority language)
Tai'izzi-Adeni acq Yemen, except east
Tajiki Arabic abh Afghanistan (minority language)
Tunisian Arabic aeb Tunisia
Uzbeki Arabic auz Uzbekistan (Central Asia), minority language

 

Links

Arabic Computing

Windows

Macintosh

Unix and Linux

Arabic Script

Script Basics

Additional Arabic Script Fonts

Create Right To Left Web Pages

These Web sites provide additional information on developing Right-to-Left Pages.

Top of Page

©Penn State University, 2000-2007.
This Web page maintained by Teaching and Learning with Technology, a unit of Information Technology Services. For questions or comments on this Web page, please contact Elizabeth J. Pyatt (ejp10@psu.edu).
Unicode character names and hexadecimal entity codes are taken from the public Unicode Character Charts.
Last Modified: Monday, 14-Apr-2008 15:58:49 EDT