Mike
Mike

Reputation: 2391

view hindi (Arabic) numbers in Firefox

When viewing Arabic pages in Firefox, all the numbers are still Latin.. unlike in IE for example, where it shows the Arabic numerals (hindi) well for Arabic pages, and Latin for other pages..

I found a tweak online through about:config (bidi.numeral), but it changes all the pages for all the languages to one type of numbers only!

I am looking for a fix that lets me view the numbers depending on the page.. not fixed..

Upvotes: 5

Views: 2695

Answers (1)

Ashraf Sabry
Ashraf Sabry

Reputation: 3182

bidi.numeral works as described in the documentation. If you set it to 2, you will get Arabic numerals in Arabic contexts, meaning that if some digits occur in the middle of Arabic text (or any other right to left language I think), they will be rendered as Arabic digits. If the digits are at the beginning of the text or in the middle of none Arabic text, they will be rendered as the default digits [0-9].

If you set it to 3, all the digits in the browser will be rendered as Arabic numerals.

Upvotes: 3

Related Questions