Quran_android: make ayah numbers during share Arabic

Created on 20 Mar 2020  路  4Comments  路  Source: quran/quran_android

right now, sharing 2 ayahs shows for example:

(亘賽爻邸賲賽 俦賱賱賻賾賴賽 俦賱乇賻賾丨邸賲賻賭侔賳賽 俦賱乇賻賾丨賽蹖賲賽 丨賲郅 蹪 毓郅爻郅賯郅)
[爻賵乇丞 丕賱卮賵乇賶 1 - 2]

that 1-2 should probably be in Arabic.

Most helpful comment

actually that is in Arabic :)

All 4 comments

actually that is in Arabic :)

He meant the numbers that are used in Arabic language: 贍佟佗伲伽佶佴侑侉侃

Isn't this as simple as instead of this:
sb.append(firstAyah.getAyah());
using this:
sb.append(QuranUtils.getLocalizedNumber(firstAyah.getAyah()));

and similarly here
sb.append(lastAyah.getAyah());

https://github.com/quran/quran_android/blob/dd4c5e9c315883d6c1a966788ac622ae2398317f/app/src/main/java/com/quran/labs/androidquran/util/ShareUtil.java#L103

@Eng-Fouad It was a joke. 1234567890 are called Arabic Numerals
https://en.wikipedia.org/wiki/Arabic_numerals

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aluckin3 picture aluckin3  路  5Comments

MahmoudMabrok picture MahmoudMabrok  路  4Comments

mgalaleldin picture mgalaleldin  路  3Comments

sadraNOORME picture sadraNOORME  路  5Comments

Ramaddan picture Ramaddan  路  9Comments