Monday, November 26, 2007

OS X 10.5 Leopard: Fixing the Russian PC Keyboard

Somehow Apple forgot to include the character ё (U+0451) in the Russian PC keyboard layout, at least as far as the ANSI physical keyboards are concerned (whether it shows up on the extra key on an ISO keyboard I don't know). If you need a replacement, you can download the RussianPC or RussianPC2 layouts from my iDisk.

The Russian and Russian Phonetic layouts do not have this problem.

Friday, November 23, 2007

OS X 10.5 Leopard: Fix for Missing Keyboard Viewer and Character Palette

Some users of Leopard have reported not having any Keyboard Viewer or Character Palette entry in System Preferences/International/Input Menu, so they cannot activate and use these functions. A possible fix has been posted in the Apple Forums here.

Thursday, November 22, 2007

OS X 10.5 Leopard: Fixing Thai

In Leopard Apple decided to switch the default Thai font from Lucida Grande to Thonburi, making the Thai characters in the former inaccessible. This causes problems because a) the Thonburi Bold font is non-functioning for some reason and b) Thonburi's spacing is botched for mixed Thai/Latin text.

Pending Apple's fixing these issues, one idea is to replace Thonburi in System/Library/Fonts with a different Thai font. I downloaded the Garuda set described at this site and used FontForge to rename them Thonburi. After making backup copies of Apple's Thonburi, I replaced it with the renamed Garuda, and this seems to work. A copy of the renamed set can be gotten from my iDisk (the folder Garudathonburi). Feedback on whether this solution is helpful would be welcome.

Another fix would be to replace the Lucida Grande in Leopard with the same font from Tiger. I have seen reports that this does not seem to cause any problems.

Tuesday, November 20, 2007

Firefox 3 Fixes Language Problems

I've always kept FireFox on my Mac as an alternative to Safari, but its value has been limited because of FireFox's inability to recognize certain Apple fonts that are required for the correct display of Devanagari and similar scripts. This has now been fixed in FireFox 3, a beta version of which has just become available. Using this test page, you should see that Hindi, Tamil, and Tibetan all look right (Tibetan requires 10.5). Bugs in some earlier versions related to Thai and Cyrillic also seem fixed.

Wednesday, November 14, 2007

OS X 10.5 Leopard: Fix for Missing Input Menu Setting

For some reason, Leopard no longer has the setting previously found in OS X in System Preferences/International/Input Menu for "Allow a different input source for each document." This is badly missed by many who need to have different keyboards active in different apps and don't want to constantly have to switch the layout. A possible fix is the app InputSwitcher. Instructions are in the ReadMe contained in the download.

Tuesday, November 13, 2007

Translation/Localization Tools Update

Earlier this year I did a short article on tools for translation and localization using a Mac. Recently I've become aware of a blog by Jean-Christophe Helary which I highly recommend to anyone involved in this field:

Mac For Translators

Monday, November 12, 2007

Fix for Leopard Chinese Input Bug

10.5's Traditional Chinese Input Method for Hanin/YiTian has a faulty keyboard mapping which results in incorrect output and missing characters. A possible fix for this is described here.

Friday, November 9, 2007

OS X 10.5 Leopard: New Vietnamese IM Includes Han Nom

Leopard adds a new set of Vietnamese keyboards which implement the most common ASCII systems for inputting this language -- Telex, VNI, and VIQR.

More interesting is that when one of these is selected you get a new item in the "flag" menu, "Convert to Hán-Nôm," which lets you convert selected modern Vietnamese Latin script into the Nom or Chinese characters used in ancient Vietnamese.

iPhone Language Capabilities Expanded

Firmware update 1.1.2 of Nov. 9, 2007 reportedly adds French, German, and Italian user interfaces plus UK, French, German, and Italian keyboards/predictive typing. There is an "Asian Fonts" setting for Chinese or Japanese, the purpose of which is unclear, since it apparently does not enable input for those languages. The latest iPhone User Guide on Apple's site (p. 19) indicates this device has the same language capabilities as the iPod Touch, but that is not yet accurate as far as I can tell.

Thursday, November 8, 2007

New Cuneiform Font Available

A new font, CuneiformComposite.ttf, which corresponds to the full Sumero-Akkadian section of Unicode 5.0, can now be downloaded from this page. For more general info on this script, see my earlier article.

With the new custom input method generator included in Leopard, it should be fairly easy to build a way to input Cuneiform directly from the keyboard on the basis of sign names or a word dictionary.

OS X 10.5 Leopard: New Custom Input Method Generator

While previous versions of OS X included a way to make custom input methods, it was only good for Chinese and had other limitations. Leopard comes with a generic system for creating input methods that should work with any Unicode font, and thus open new options for typing scripts that don't lend themselves to the usual alphabetic keyboard layout. Essentially all you have to do is produce a tabbed file equating ascii strings to the output you wish to appear, put it into the proper format, and install it in Home/Library/Input Methods. Details can be found here.

Note that the Apple article example is only for the .inputplugin format. For the .cin format, see this page.

Wednesday, October 31, 2007

OX 10.5 Leopard: New Dictionary Development Kit

One of Leopard's new language features is the addition of a cool Japanese dictionary alongside the English one in Dictionary.app. But I see that in the XCode stuff, in Developer/Extras, there is also now a Dictionary Development Kit. Assuming it is not too hard to use, this could open the door to the creation by ordinary users of all kinds of additional dictionaries in other languages.

Monday, October 29, 2007

Leopard Can Use Windows Arabic Fonts

Playing around with TextEdit, I've discovered that the new Leopard can apparently display Windows Arabic fonts correctly. Previously trying to select such fonts would result in disconnected and wrongly-shaped glyphs, so that only Apple's Geeza Pro or other AAT fonts could be used. This was especially a problem in Safari when the user had installed MS Office, which included Arial and Times New Roman fonts with Arabic in them that often got selected by web pages. Persumably this new feature represents expanded OS X support for OpenType font features. My tests indicate that Windows Devanagari and other Indic script fonts are still not supported however. Also Windows Arabic fonts do not work in Pages.

Sunday, October 28, 2007

Main FAQ Page Switched to Leopard

The main Multilingual Mac FAQ Page has now been redone for OS X 10.5 Leopard. As I am still learning all the features of the new system, some parts may not be totally accurate, and they will be updated as soon as possible.

The Tiger page is still available here. It will not be updated further, but may be useful for people running that OS and for OS 9. Because Leopard no longer supports OS 9, the main FAQ page will no longer cover it.

OS X 10.5 Leopard: Languages Preference Pane Expanded

The presence and order of the names in OS X's System Preferences > International > Languages pane determines things like system and application localization, font priority, list sorting, and the Mail encoding menu. Normally by default it contains the available system localizations (18 in Leopard), but you can easily add to this by using the Edit button.

The total number of languages you can select depends to some extent on whether you have installed any extra fonts, but even with those provided by Apple it is remarkable, well over 100. I had 110 on Tiger and in Leopard this has increased to 138. A few of the more unusual entries are Klingon, Latin, Navajo, and Sanskrit. If you have a look for yourself, you will see that the languages appear in their own script, but mousing over a name gives you the English translation. You can see a full list here.

Saturday, October 27, 2007

OS X 10.5 Leopard: Asian Script IM Help Finally in English

One very nice new feature of Leopard is that the Help for the Japanese, Korean, and Traditional and Simplified Chinese Input Methods is finally available in English. Previously the only English resources available from Apple regarding these complex systems were old manuals for OS 9. I don't think there is any way to print out all the Help at once, but you can find the files at System > Library > Input Methods ( do Control + Click > Show Package Contents on the IM you want) Contents > Resources > English.lproj.

Unfortunately there is no Help of any sort provided by Apple for the Tamil and Tibetan keyboards, which would also be useful for those not already familiar with the standard ways to input these scripts.

Friday, October 26, 2007

OS X 10.5 Leopard: New Fonts and Scripts

Tibetan: This is the primary new script included with Leopard, covered by the fonts KaiLasa and Kokonor, with 3 input methods provided.

Georgian: Included in the newly-added (but actually old) Windows Arial Unicode font. (This also contains Bengali, Oriya, Telugu, Kannada, Malayam, and Lao, but Leopard has been programmed to ignore them, perhaps because they would not display correctly.)

Shavian: Apple Symbols now has this in addition to Deseret.

No keyboard layout has been provided for Georgian, Shavian, or Deseret.

Reflecting the new Russian and Polish OS localizations, the number of fonts which include Cyrillic and the Latin characters needed for Polish has been significantly increased, and includes Marker Felt and Hoefler text among others.

Scripts included in Unicode 5.0 but for which users will still have to download fonts from other sources are N'ko, Phoenician, Balinese, Phags-Pa, Sumero-Akkadian Cuneiform, Buginese, Glagolitic, Coptic, Tifinagh, Syloti Nagri, Old Persian, Kharoshthi, New Tai Lue, Limbu, Tai Le, Linear B, Cypriot, Ugaritic, Osmanya, Tagalog, Hanunoo, Buhid, Tagbanwa, Old Italic, Gothic, Syriac, Thaana, Sinhala, Myanmar, Ethiopic, Ogham, Runic, Khmer, Mongolian, Bengali, Oriya, Telugu, Kannada, Malayam, Lao.

Here is some info on script support in Windows, which does include a number of those still missing from OS X.

Fixing Leopard's Latvian Keyboard

In the Apple forums some users have reported that Leopard's Latvian keyboard layout has a non-functioning ' deadkey for making the special characters which that language requires. It was OK in Tiger. For a replacement, try downloading and installing LatvianT.keylayout from my iDisk.

OS X 10.5 Leopard: New Keyboards and IM's

After installing Leopard, I found the following totally new keyboards: Tibetan (3 options), Jawi, Kazakh, and Uighur. There is no Kurdish layout, although this language is mentioned as being supported in Apple's Leopard "new features" page.

Other new keyboards which add options to what was already available in Tiger are: Traditional Chinese Zhuyin, Vietnamese Unikey (4 options), Arabic PC, Russian PC, Persian QWERTY, Sami PC, Norwegian Sami PC, and Swedish Sami PC . Traditional Chinese Pinyin is reportedly a totally new version of what went by the same name in 10.4.

Here is the total list for Leopard (an asterix indicates multiple options): Arabic*, Azeri, Armenian*, Belgian, Brazilian, British, Bulgarian*, Byelorussian, Canadian French, Cherokee*, Chinese (simplified and traditional)*, Croatian, Czech*, Danish, Dari, Devanagari*, Dutch, English, Estonian, Faroese, Finnish*, French*, German, Greek (regular and polytonic), Gujarati*, Gurmurkhi (Punjabi)*, Hawaiian, Hebrew*, Hungarian, Icelandic, Inuktitut*, Irish*, Italian*, Japanese*, Jawi, Kazakh, Korean*, Latvian, Lithuanian, Macedonian, Maori, Nepali, Norwegian*, Pashto, Persian*, Polish*, Portuguese, Romanian, Russian*, Sami*, Serbian*, Slovak, Slovenian, Spanish*, Swedish*, Swiss (French and German), Tamil*, Thai*, Tibetan*, Turkish*, Uighur, Ukrainian, Uzbek, Vietnamese*, and Welsh. Plus Character Palette, Japanese Kana Palette, Keyboard Viewer, Dvorak*, US Extended, and Unicode Hex.

Tuesday, October 16, 2007

Typing Linear B

Linear B was used to write an early form of Greek called Mycenaean. Although there is a keyboard for this script on my iDisk, the layout is arbitrary and not of much practical use. Thanks to Alessandro Vatri there is now a much more professional version, based on phonetic input, available from this page:

http://geocities.com/ale_vatri/

Fonts that cover Linear B include Aegean, ALPHABETUM Unicode, Code2001, MPH 2B Damase, and Penuturesu.

OS X Leopard Adds 3 Localizations and 15 Keyboard Layouts

OS X 10.5 Leopard was made available for preorder today, and Apple also published its tech specs and new features.

Tech Specs

Features

These indicate that 3 new localizations -- Russian, Polish, and Portuguese (Portugal) -- have been added to the previous 15. The full list is now English, Japanese, French, German, Spanish, Italian, Dutch, Swedish, Danish, Norwegian, Finnish, Traditional Chinese, SimplifiedChinese, Korean, Brazilian Portuguese, Portuguese (Portugal), Russian, Polish.

New languages mentioned as supported via keyboards/fonts are Tibetan, Kazakh, Uyghur, Kurdish, and Jawi (Malay in Arabic script).

New spell checkers are Russian and Danish.

Dictionary.app now includes Japanese (with a translation facility) in addition to English.

Here is a list of the language-related items from Apple's page describing Leopard's features.

Saturday, September 29, 2007

A Hebrew Font Puzzle

Someone in the Apple forums reported that when using Safari to view certain web sites, all accented Latin characters were being replaced by Hebrew. Normally the culprit for such behavior should be a non-Unicode Hebrew font with the same name as that required by the web page code, which was Arial in this case. But it seemed that no such font could be found anywhere on the machine.

It turns out that the old Windows font Web Hebrew AD, with the filename wehad.ttf, is in fact just such an animal, replacing accented Latin by Hebrew according to the Win-1255 encoding. When examined with a font editor, you can see that its internal name is actually Arial, so that Safari can't tell the difference. Mystery solved.

Friday, September 28, 2007

iPhone Input Keyboard Gets Accented Latin

iPhone firmware update 1.1.1 of Sept. 27, 2007 adds the capability to make accented Latin characters to the iPhone keyboard. If you press and hold a letter, a pop-up menu will appear where you can choose an accented or other variation.

Oddly this update fails to duplicate the capabilities provided recently in the iPod Touch for localizing the user interface, predictive typing other than English, and for switching among various layouts or input in Japanese.

Wednesday, September 5, 2007

iPod Touch Language Capabilities

While the new iPod Touch strongly resembles the current iPhone (minus the phone), its language capabilities seem considerably greater. The tech specs indicate the user interface is localized in English, French, German, Japanese, Dutch, Italian, Spanish, Portuguese, Danish, Finnish, Norwegian, Swedish, Korean, Simplified Chinese, Traditional Chinese, Russian, and Polish. Keyboard input (only English in the iPhone) adds French, German, Japanese, Dutch, Italian, Spanish, Danish, Finnish, Norwegian, Swedish, Polish, and Portuguese. Dictionaries for predictive typing are available for English, UK English, French, and German.

To get accented characters, you hold down the key of the base letter.

Whether any additional languages are supported for web browsing and song info display is not known yet.

The upgraded standard iPods have no additions to their language support, described here, despite many requests for Hebrew, Arabic, Thai, etc.

Sunday, August 19, 2007

Input Japanese on the iPhone

An earlier article mentioned a virtual keyboard that can be used for inputting some European languages plus Greek and Russian on the iPhone, whose built-in keyboard is English only. Now there is one for Japanese. To use it, point your iPhone or other browser to this page:

http://n.h7a.org/iphone/mail/

Friday, August 17, 2007

Another Arabic Keyboard Layout

I already have two Windows Arabic keyboard layouts on my iDisk, but it seems they may not be exactly right, so I have now put up another one which should match that provided with Windows Vista, seenhere (use Opera if it doesn't display right in your current browser):

The new layout is named WinVArabic101.keylayout and can be downloaded directly here:

http://idisk.mac.com/thgewecke-Public/WinVArabic101.keylayout

Let me know if you have any problems with it.

Thursday, August 9, 2007

iLife '08 Adds New Localizations, iWork '08 Still Limited to 8

The updated version of iLife, issued August 7, includes new Russian and Polish localizations for all its components -- iPhoto, iWeb, iDVD, iMovie, and GarageBand. These are in addition to the usual 15 that have been customary for OS X and most of its apps.

Strangely, the updated iWork (Pages, Numbers, Keynote), issued the same date, continues to have only a truncated set of 8 localizations -- Dutch, English, French, German, Italian, Japanese, Spanish, and Simplified Chinese.

Wednesday, July 11, 2007

Reading and Writing Georgian

Georgian was made part of Unicode over 10 years ago. Though OS X has never included fonts or keyboards for this script, some have been available via downloading from the internet to enable a basic level of support. Thanks to Reno Siradze there is now a much more advanced and refined set of tools for Georgian, which you can get here:

Georgian Language Kit 1.0

For more good Georgian fonts, try BPG-InfoTech

Note that it is customary in Georgian headings, ads, captions, and titles to use a special capitalized version of the normal unicameral alphabet (called the Didi style of Mkhedruli or the Mtavruli style of Mkhedruli). Inputting this style requires switching to a special font, although some fonts like those from BPG put this type style in the 10A0 range in place of what is supposed to be there.

Note Added Later: OS X 10.5 Leopard does include one font with Georgian, namely Arial Unicode.

Tuesday, July 10, 2007

Where to Get Hardware Keyboards in Other Languages

If the physical keyboard on your Mac does not have the layout/language you want, here is place that sells Apple international keyboards:

Laptops

USB

Saturday, July 7, 2007

iPhone: How to Send Email in Other Languages

No doubt Apple will eventually update the iPhone OS to included keyboards that enable input beyond the current ASCII English. But pending that it's possible, with a skillful combination of javascript vitual keyboards and the html "mailto" function, to create online keyboards that let you send email from the iPhone in a variety of languages. For an example, see this app

Virtual Keyboards

which can do French, German, Italian, Spanish, Russian, Czech, Greek, Brazilian, and Swedish.

Friday, June 29, 2007

iPhone Language Features Limited in First Version

I don't have an iPhone, but reports from users confirm that the OS in the device released June 29 has language capabilities that fall short of those in OS X Tiger. The user interface and keyboard input are English only. Text display in the browser (presumably the same as in email and other apps) includes W. European, E. European, Greek, Russian, Chinese, Japanese, and Korean. But no font is provided for Vietnamese, Arabic, Hebrew, Hindi, Thai, or Tamil, all of which are part of the full Tiger OS, or Tibetan, rumored to be added in Leopard. This particular iPhone is, of course, intended only for the US market.

A photo of a language test page can be seen here.

Monday, June 25, 2007

Multilingual iCal

If you would like to have the months and days of the week in another language in the calendars of iCal, go to System Preferences/International/Formats and change the Region to the language of your choice. Check the Show All Regions box to add more languages if you want. When iCal restarts the names should be changed. What might surprise you is that this can be done even in languages for which OS X has no localization, e.g. Arabic. Display will not be correct, however, for languages where you do not have an appropriate font installed.

Wednesday, June 20, 2007

Browser Language Test

Since the new Windows Safari beta has a number of bugs related to non-ascii text, and there also remain many questions about what the Safari used in the iPhone will be able to display, I have posted a simple web page that contains short samples of the scripts which often cause problems here.

http://homepage.mac.com/thgewecke/ltp.html

At the bottom of this page there is a graphic of what should be seen at the top, so users can easily compare the two and see what may not be displaying right.

Tiger should display everything correctly except Tibetan (unless you have installed the special font from XenotypeTech). Leopard comes with a Tibetan font and should also display that sample in proper fashion.

Wednesday, June 13, 2007

Some Tiger Versions Have Russian Localization

Russian is not listed in the Tiger tech specs as an available localization, and neither my retail PPC install nor updates to 10.4.9 have it. But I recently got an Intel iMac with 10.4.7, and this does in fact include Russian as an option for menus and dialogues. I would assume all versions of Leopard should have this.

Tuesday, June 12, 2007

Unicode 5 Now Online

The full text of the latest version of the Unicode Standard can now be found here.

Friday, May 18, 2007

Support for Indian Languages

Of the 13 most widely spoken languages of India, OS X comes with built-in support for 6 of them via its Devanagari, Gujarati, Gurmukhi, and Tamil fonts and keyboards. You can find info on support for another three (Telugu, Kannada, and Malayalam) in my earlier note here. Below is info on using the remaining 4 -- Bengali, Urdu, Oriya, and Assamese.

For Bangla/Bengali, you can download OS X fonts and keyboard layout from this site. The Bengali script is also used for Assamese.

For Urdu, OS X comes with the required Arabic script font, but you need to install a keyboard layout. One can be obtained here or from my iDisk.

For Oriya, you will need to download a font like Utkal listed at this site. Correct display is only possible in OpenOffice/X11. A (very) expermental keyboard layout is on my iDisk.

Wednesday, May 16, 2007

Trouble-shooting Language Problems

I've recently updated the trouble-shooting section of my main web site, where you can find brief answers to several dozen of the most common questions Mac users have when working in languages other than English.

Saturday, May 12, 2007

Apple TV Language Capabilities

The Apple TV, a device which lets you put digital content from Macs and PCs running iTunes onto your TV screen, uses a customized version of OS X which apparently has somewhat different language capabilities than the full one. Although not mentioned in Apple's specs for the product, you can choose the language for menus and dialogues in Settings > Language, where the choices are English, Danish, Spanish, Korean, Japanese, Traditional and Simplified Chinese, Finnish, French, Dutch, Russian, German, Italian, Norwegian, and Swedish. This adds Russian and subtracts Portuguese from the OS X 10.4 list.

Regarding display, this note gives a somewhat odd list of languages *not* supported, presumably because the fonts are not provided, but surely there are more, including Vietnamese, Tamil, and Devanagari and other Indic scripts. Hopefully this list will be reduced via software updates in the future.

Reports indicate that input, for example in search fields, probably does not support languages other than English.

Monday, May 7, 2007

Typing Lao

Lao is closely related to Thai, and these two scripts are the only ones encoded by Unicode in visual rather than logical order -- i.e. some vowels are typed before consonants, even though they actually follow them when pronounced.

OS X does not come with either a font or keyboard for Lao. The best font to use is Saysettha Unicode, and you can download a keyboard layout (LaoSTEA) from my iDisk.

Some diacritics may not display in totally correct locations on a Mac with the available fonts. Also Lao does not separate words by spaces, and OS X has no Lao dictionary, so linebreaking will not work automatically. When inputting you can use Shift + Space to put a zero-width space (U+200B) after words to help lines break correctly.

Saturday, April 28, 2007

The Mystery of the Bogus Hebrew

I often field questions on how to get Hebrew to input and display correctly, but rarely does anyone ask me how to get rid of it. The primary example of the latter is a strange problem that occurs with iTunes, where Hebrew replaces normal English in some circumstances. You can see an example here.

I've never been able to figure out the details of why this occurs, but the cure, which someone else found by chance, is normally to remove any copies of the font Lucida Grande.ttf (NOT Lucida Grande.dfont) found on your machine.

Solving a Cyrillic Puzzle

Recently someone in the Apple forums had a problem with text he knew was in Russian but which would only display in Latin. It was just one word, "Dybvfybt". Since no encoding currently used for Cyrillic maps this script to ASCII, the text must have been made with some kind of custom font that did just that. But normally anyone making such a font would map the Cyrillic characters to their Latin equivalent, so the text should be recognizable as transliterated Russian, which it wasn't.

This stumped me, until I wondered whether someone had made a font designed especially to allow typing according to the standard Russian keyboard layout but on a Western keyboard. Instead of the QWERTY used in the U.S., the Russian layout goes YTsUKEN. Sure enough, typing Dybvfybt according to my U.S. keyboard, but with the layout set to Russian, produced a recognizable word, Внимание = Vnimanie = Attention.

It's the first time I've seen Cyrillic text encoded that way, and I haven't yet found an available font that supports it.

Tuesday, April 24, 2007

Typing Kyrgyz

Kyrgyz is a Turkic language spoken in Kyrgyzstan and a few other areas. While both the Arabic and Latin scripts have been used to write it in the past, Cyrillic is now the standard. The alphabet is essentially the same as Russian but with 3 additional characters: Ң, Ү, Ө.

OS X comes with fonts that cover Kyrgyz, but with no keyboard layout. On my Dropbox you can find two versions: KyrgyzCYR, which is the same as used on Windows machines, and KyrgyzPH, which is modeled on the Apple Russian-Phonetic layout and may be easier for people used to QWERTY. The extra three characters are found on the Option and Option + Shift levels for н, у, and о.


https://www.dropbox.com/s/8bzhohfnplb6umw/KyrgyzCYR.keylayout?dl=0

https://www.dropbox.com/s/bd6h9p7gqbr8rj2/KyrgyzPH.keylayout?dl=0


Switching from Cyrillic back to Latin (which was used for a number of years before 1940) is reportedly being considered.

Tuesday, April 17, 2007

Pitfalls of Working with Complex Scripts

It's not unusual to have to do publishing or design work in languages and scripts you do not understand. In some scripts, if you use the wrong font or app, you can easily generate nonsense without realizing it. So having a native speaker (or at least someone who knows the script) check things can be important. Below are some examples of common pitfalls you may run into. In particular, be aware that MS Word for Mac, even the 2008 version, does not yet support correct display of these scripts.

Arabic script, used for many other languages than just Arabic, can wind up disconnected or backwards.

Indic scripts, used for example in Hindi/Sanskrit, Gurmukhi, Gujarati, Tamil, and Tibetan can easily wind up with letters in the wrong order, overlapping, or uncombined (when combination is mandatory).

Thai and other S.E. Asian languages don't use spaces to separate words, so line breaking can occur in totally wrong places. Apple Cocoa apps can access a dictionary built into OS X that enables them to do Thai line breaking fairly well, but MS, Adobe, and other apps cannot.

Monday, April 16, 2007

Typing Catalan

Catalan is a co-official language along with Spanish in the region on the Eastern edge of Spain. It uses the same alphabet as Spanish except it has no ñ and adds the digraph l·l (ela geminada).

OS X 10.3 had a Catalan keyboard layout which was identical to Spanish-ISO except for the flag icon. This seems to be no longer present in my 10.4. From my iDisk you can download the Catalan folder, which contains the .keylayout file and the .icns file with the right flag. The layout is almost the same as Spanish-ISO. The middle dot · (U+00B7) which is the standard for producing l·l is at shift + 3. But also included are ŀ (U+0140) and Ŀ (U+013F) at option + o and option + shift + o, in case you want to use these versions for local printing or similar purposes.

Thursday, April 12, 2007

Typing Kazakh

Kazakh is a Turkic language spoken in Kazakhstan and a few other areas. While both the Arabic and Latin scripts have been used to write it in the past, Cyrillic is now the standard. The alphabet is essentially the same as Russian but with 9 additional characters: Ә, Ғ, Қ, Ң, Ө, Ұ, Ү, Һ, І.

OS X comes with fonts that cover Kazakh, but with no keyboard layout. On my iDisk you can find two versions: KazakhCYR, which is the same as used on Windows machines, and KazakhPH, which is modeled on the Apple Russian-Phonetic layout and may be easier for people used to QWERTY.

Switching from Cyrillic back to Latin (which was used for a number of years before 1940) is reportedly under consideration by Kazakhstan.

Sunday, April 1, 2007

Publishing with Complex Scripts

Those wishing to do serious desktop publishing, including books, in scripts like Arabic, Devanagari, or Tamil in OS X are handicapped by the fact that standard applications like Word, InDesign, and Quark cannot yet render OS X Unicode fonts for these languages correctly. Alternatives are the limited TextEdit or Pages (which is buggy for Arabic), or using Windows fonts with OpenOffice. There does exist a special ME version of InDesign for Arabic/Hebrew.

Recently I came across a DTP program called iCalamus that appears to combine a wide range of DTP capabilities with proper rendering of complex scripts. Users with this kind of requirement may want to download the free trial here and give it a try. Unfortunately iCalamus does not yet support direct input and editing of Indic -- you have to copy/paste your text from TextEdit or another app where this can be done. A somewhat similar app which does support direct input is Create.

Wednesday, March 28, 2007

Typing Hawaiian

OS X includes a special keyboard layout for the Hawaiian Language (ʻŌlelo Hawaiʻi), which puts the macron vowels which it uses (ā ē ī ō ū) on the Option key of the normal letter. This layout also replaces the normal apostrophe (') with the Unicode "modifier letter turned comma" ʻ (U+02BB) used by Hawaiian to represent the glottal stop (ʻokina). ( For the normal apostrophe you can type Option + ', and for the left single you you type for Option + ] )

If you put ʻŌlelo Hawaiʻi at the top of the list in System Preferences/International/Languages you may be surprised at how your files sort by name, since they will follow the order of the Hawaiian alphabet, with the English letters Hawaiian doesnʻt use tacked on at the end: a e i o u h k l m n p w ʻ b c d f g j q r s t v x y z.

Tuesday, March 20, 2007

New Fonts for Arabic Script Languages

Because of the different technologies used by Mac's and PC's for complex scripts (AAT and OpenType respectively), it has long been necessary to use different fonts on the two platforms for languages written in Arabic script. Also AAT fonts are uncommon, so Arabic script on a Mac (unless you used particular apps like Mellel or OpenOffice) was essentially limited to the Geeza Pro font supplied with OS X and two fonts (Scheherazade and Lateef) provided by SIL.

Thanks to the Iranian Mac User Group (IRMUG), there is now available a new set of Arabic script fonts, XBZar, which contain both technologies and should thus display the same on both platforms and in all applications that support Unicode. XBZar, which has regular, bold, italic, and bold-italic typefaces, can be downloaded here.

Tiger (but not Panther) has some bugs that cause problems with this font. If you have an Intel Mac, you must be running 10.4.9 for it to work right. On a PPC Mac, 10.4.2 is sufficient.

For more info on typing Arabic script languages, see this page.

Friday, March 9, 2007

Typing Etruscan

Etruscan is an ancient extinct language that preceded Latin in Italy and whose writing system is one of earliest examples of the English alphabet. This script is in Unicode under the name "Old Italic." MPH 2B Damase and Code2001 are free fonts that cover it, and a keyboard layout can be downloaded from my iDisk or here.

Etruscan was often written right-to-left, and the fonts mentioned above reflect this direction in the way the letters are oriented. To input this correctly you should use the application Mellel, set for RTL. An alternative is to use another Unicode-savvy app like TextEdit, but precede your text with the Unicode character 202E to force the correct direction. The keyboard on my iDisk has 202E on the ` key and 202C (used to end an RTL segment) on the = key. These should also be used in web pages, but not all browsers may display the correct direction.

Here is an Etruscan Test Page.

Monday, March 5, 2007

Reading Cuneiform

Cuneiform is a script used to write a number of languages of the ancient Middle East, such as Sumerian, Akkadian, and Hittite. Since version 5.0 Sumero-Akkadian Cuneiform is part of Unicode, but until recently there have not been any fonts publically available. Now you can download one for the Hittite version of the script here.

Cuneiform was used for such a variety of languages over such a long period that the form of its glyphs showed considerable evolution over time and place. Thus different fonts are required to correctly display the forms used in Neo Sumerian (which appear in the Unicode charts), and those used in Old, Middle, and New Babylonian and Assyrian, Hittite or Elamite.

The only way to input Cuneiform at present is via the Character Palette or copy/paste.

Here are some test pages for Hittite, Akkadian, and Sumerian.

Different, alphabetic cuneiform scripts are also used for Old Persian and Ugaritic. For info on fonts and keyboards for these, see the blog entries for Unicode 4.1 and Unicode 4.0.