dart-lang / i18n

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

The isRtlLanguage method returns false for the RTL Kurdish (Sorani). #827

Open nero-angela opened 2 months ago

nero-angela commented 2 months ago

Hi,

Central Kurdish, also known as Kurdish (Sorani), is a right-to-left language.It seems that isRtlLanguage() is returning the wrong value as false.

image
Code ```dart import 'package:intl/intl.dart'; void main() { /// Kurdish (Sorani) : https://en.wikipedia.org/wiki/Sorani print(Bidi.isRtlLanguage("ckb")); } ```
mosuem commented 2 months ago

I think the problem is that ckb is not a known locale for package:intl.