8000 Add Western digits option for Arabic mode by muhammadumer-waheed · Pull Request #3876 · quran/quran_android · GitHub
[go: up one dir, main page]

Skip to content
< 8000 div data-target="react-app.reactRoot">

Add Western digits option for Arabic mode - #3876

Open
muhammadumer-waheed wants to merge 2 commits into
quran:mainfrom
muhammadumer-waheed:feature/arabic-western-digits
Open

muhammadumer-waheed wants to merge 2 commits into
quran:mainfrom
muhammadumer-waheed:feature/arabic-western-digits

Conversation

@muhammadumer-waheed
Copy link
Copy Markdown

Fixes #3543

Adds a "Western digits (0123456789)" checkbox under Arabic mode (only visible when Arabic mode is on). It sets the Unicode nu-latn extension on the app locale (ar-EG → ar-EG-u-nu-latn), so ICU formats interface numbers as 0123456789 while resources still resolve to Arabic. Mushaf ayah markers stay Eastern Arabic.

  • QuranUtils.isUsingWesternDigits() helper + unit test
  • Playback number pickers skip the forced Eastern formatter / header font when enabled
  • en + ar strings

Note: toggling Arabic mode off and on resets to ar-EG, so the digits option needs re-checking.

🤖 Generated with Claude Code

muhammadumer-waheed and others added 2 commits October 6, 2026 13:05
Adds a "Western digits" checkbox, shown only in Arabic mode, that sets the
Unicode nu-latn extension on the app locale (ex ar-EG-u-nu-latn) so numbers
in the interface use 0123456789 instead of Eastern Arabic digits. Mushaf ayah
markers are unaffected.

Fixes quran#3543

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ern-digits

# Conflicts:
#	app/src/main/res/values/strings.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Arabic mode with Arabic numerals (1234567890) instead of Persian numerals (١٢٣٤٥٦٧٨٩٠)

1 participant

0