dart-lang / i18n

A general mono-repo for Dart i18n and l10n packages.
BSD 3-Clause "New" or "Revised" License
64 stars 40 forks source link

Add Coptic 'cop' Language Support #892

Open dbebawy opened 2 months ago

dbebawy commented 2 months ago

Which locale is missing? cop (Coptic language)

Which locale have you considered using instead, but was not sufficient? The Coptic language (ISO 639-2 code: cop) is not supported in the intl package, and no other locale can sufficiently represent it. Coptic numerals and linguistic conventions require unique handling that cannot be substituted by other available locales like ar (Arabic) or any other.

Reason for Request:

The Coptic language is the liturgical language of the Coptic Orthodox Church and a critical part of Coptic heritage, especially in religious and scholarly contexts. Support for Coptic numerals and text formatting would benefit applications targeting Coptic communities, religious studies, and historical research.

Additional Information:

  1. Coptic Language:

    • The Coptic language is the final stage of the ancient Egyptian language and has been used primarily in religious texts and liturgies. Its written script is based on the Greek alphabet, with several characters derived from the Demotic script of ancient Egyptian.
    • Coptic has its own numeral system, which differs from Arabic numerals and requires special handling for proper formatting. Numerals are often written with an overline (supralinear stroke) to indicate their numeric value, rather than their alphabetic meaning.
  2. Coptic Numerals:

    • Coptic numerals range from 1 to 900 using specific characters from the Coptic alphabet, with an overline to signify numbers.
    • More on the Coptic language and its numerals: Coptic Language - Wikipedia

References:

Potential Impact:

Including the Coptic locale (cop) in the intl package would enable Flutter and Dart developers to support applications that require Coptic language handling, especially for communities and institutions that rely on Coptic numerals and texts.

Links:

mosuem commented 2 months ago

Thanks for the request. We use CLDR data as the data base for locales, which does not seem to include coptic numerals. Consider filing the issue with unicode, which would also enable the support not only for Dart and Flutter but many other languages and frameworks.