Topic on Talk:XTools

Xtools Arabic Numerals

6
Summary last edited by MusikAnimal 01:26, 31 May 2024 2 days ago

Fixed in XTools 3.20.0 and will be released soon

Mystrixo (talkcontribs)

The Arabic version of Xtools employs Indo-Arabic/Eastern Arabic numerals (٠١٢٣٤٥٦٧٨٩), while Western users use Arabic numerals (0123456789). We would prefer it if the defaults were Arabic numerals, as they are the most generally used and understood numeral system, or if there was a choice between the two.

MusikAnimal (talkcontribs)

The Hindu-Arabic numerals were added per request from 2019: phab:T185908, phab:T213503. Perhaps things are different for Persian versus other languages that use Hindu-Arabic numerals? It sounds like maybe it's a matter of preference?

It looks like the wiki shows Arabic numerals (i.e. ar:Special:Statistics). If that is the case, then XTools should use those, too, I think.

Pinging @Épine in case they have any input.

Mystrixo (talkcontribs)

Exactly.

MusikAnimal (talkcontribs)

As it turns out, MediaWiki goes by $wgTranslateNumerals which is turned off for Arabic language wikis on our cluster. So normally, Arabic does have translated numerals, but your community apparently has requested that it doesn't. Kurdish for example does prefer numerals to be translated.

Anyway, I've made the same change in XTools -- language code ar will show Western Arabic numerals. I should have this deployed later today or tomorrow.

Mystrixo (talkcontribs)

I really appreciate your explanation! I am grateful for your willingness to share your knowledge and troubleshoot this issue.

MusikAnimal (talkcontribs)

No problem :) It might be another few days before the next release, FYI. The code is merged though, so I'm going to go ahead and mark this discussion as resolved.