Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Improve Persian diacritics and Alef popups

未关闭
#732 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
66/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
android, kotlin
领域
mobile

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Kotlin
星标
1k
派生
59
平均合并
14 小时 37 分钟
30 天内合并 PR
54

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

LeanBitLab/LeanType 的其他 Issue

查看 LeanBitLab/LeanType 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。