Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Improve Persian diacritics and Alef popups

Ouverte
#732 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
66/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
android, kotlin
Domaine
mobile

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Kotlin
Étoiles
1k
Forks
59
Merge moyen
14 h 37 min
PR mergées (30 j)
54

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de LeanBitLab/LeanType

Toutes les issues de LeanBitLab/LeanType

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.