Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
nero-angela opened this issue Apr 15, 2024 · 2 comments
Closed

Comments

@nero-angela
Copy link

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
import 'package:intl/intl.dart';

void main() {
  /// Kurdish (Sorani) : https://en.wikipedia.org/wiki/Sorani
  print(Bidi.isRtlLanguage("ckb"));
}
@mosuem
Copy link
Member

mosuem commented Apr 15, 2024

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

@badeesAbood
Copy link
Contributor

@mosuem this issue should be resolved as I mentioned it in PR #863

@mosuem mosuem closed this as completed Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants