Persian

Persian style guide and Common issues

Orthography

Please follow the orthography published by the Persian Academy (دستور خط فارسی). Since the rules are sometimes complicated and hard to decipher, refer to فرهنگ املایی خط فارسی, by Ali-Ashraf Sadeghi and Zahra Zandi-Moghaddam. (We have PDF versions here and here, but we don’t know if these PDFs are the latest editions or not. Refer to the latest printed versions, if you can.)

Characters to use

It may appear that there is a choice among which characters to use for certain Persian letters, but the Unicode Standard and the Iranian National Standard ISIRI 6219, are strict about what to use for different letters or marks:

Locale patterns: Most of existing CLDR locale data for Persian is based on the FarsiWeb publication “نیازهای شرایط محلی برای فارسی ایران”, which is in turn based on extensive research in Persian standards and reference material. Follow that document where it covers an issue, and try to remain consistent with it if it doesn’t.

Language, script, region, and location names

Please do not rely on the Persian Wikipedia for translation of these. You can consult the Persian Wikipedia as a start, but never use it as a primary reference; instead look at its references.

Or find a good Persian reference book about languages and scripts (such as Razi Hirmandi’s translation of Kenneth Katzner’s The Languages of the World, published as زبانهای جهان by Markaz-e Nashr-e Daneshgahi, which is the source of the names of most Persian language names in CLDR), or a good atlas, and use names from those instead.

Even better, find multiple references and compare. If there exists a consensus Persian name, it will become clear after consulting multiple references.

Try to use references published before the Persian Wikipedia started in 2003, to minimize potential influences. If in doubt, or can’t find a reference, it may be better to avoid voting for a value instead of using something potentially made up by a Persian Wikipedia editor.

Currencies

The pattern we follow is name of currency, followed by an ezafe (written if the Persian name of the currency ends in most vowels), followed by the name of the region. For example, Canadian dollar is دلار کانادا, while Indian rupee is روپیهٔ هند.

Dates and time

For date formats when a year follows a month, in some calendar systems such as Gregorian and Islamic, the ezafe form of month names should be used. For example, while January 12 would be ‏۱۲ ژانویه, January 2019 would be ژانویهٔ ۲۰۱۹. To make this distinction, stand-alone patterns (LLLL etc) are localized without ezafe, while formatting patterns (MMMM etc) are localized with ezafe. When localizing patterns, pay attention to this distinction and use the correct pattern. For example, “MMMM d, y” should be translated as “d MMMM y” (since the Persian version would need the ezafe), while “MMMM d” should be translated as “d LLLL” (since the Persian version doesn’t use the ezafe).

Units

TBD

Time zones

TBD

Characters

TBD