Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Improve Persian diacritics and Alef popups

Aberta
#732 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
66/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
android, kotlin
Domínio
mobile

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Kotlin
Estrelas
1k
Forks
59
Merge médio
14h 37min
PRs com merge (30d)
54

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de LeanBitLab/LeanType

Todas as issues de LeanBitLab/LeanType

Issues semelhantes

Mais issues de Kotlin

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.