Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Improve Persian diacritics and Alef popups

Đang mở
#732 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
66/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

Find the period and Alef long-press popup definitions and the existing Arabic popup styling in the Android keyboard code. Read how popup defaults and contents are selected for the active language, then check the relevant keyboard tests or run the app with Persian and Arabic input. Done means Persian shows tatweel by default, dotted-circle diacritics and آ without &, while Arabic retains its intended characters.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Description

Persian input has two issues with the current long-press character popups.

  1. Period key: diacritics and default character

The long-press popup on the period key contains Arabic diacritics and other marks, but its default character and visual presentation could be improved for Persian input.

Expected behavior:

  • Use the tatweel character "ـ" (U+0640, ARABIC TATWEEL) as the default character.
  • Display diacritics, including fatha ("َ"), kasra ("ِ"), and tanwin marks, using the dotted-circle placeholder "◌" (U+25CC), following the existing Arabic popup's visual style.
  • Preserve the correct positioning of each mark so users can easily distinguish diacritics displayed above or below the placeholder.
  1. Alef key: incorrect default and unnecessary character

The Alef key's popup currently prioritizes "ٱ" (U+0671, ARABIC LETTER ALEF WASLA) instead of "آ" (U+0622, ARABIC LETTER ALEF WITH MADDA ABOVE). Additionally, the popup includes an unnecessary "&" character that should not be present in Persian input.

Expected behavior:

  • Use "آ" as the default Alef character for Persian input.
  • Remove the unrelated "&" character from the Alef popup.
  • Keep appropriate Arabic-specific characters available when Arabic is the active input language.

Suggested implementation

Make the default characters and long-press popup contents language-aware, ensuring that Persian users get appropriate characters and diacritics without changing the intended Arabic input experience.

Ngôn ngữ chính
Kotlin
Star
1k
Fork
59
Merge trung bình
14 giờ 37 phút
Pull request đã merge (30 ngày)
54

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LeanBitLab/LeanType

Tất cả issue của LeanBitLab/LeanType

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.