Browser displays Arabic numbers on different order

49 views Asked by At

I'm having a small bug on my web. On About Us section of my website I want to pass a phone number to the contact information, also my web support different languages, but the problem is that when translating to Arabic language numbers display on a different order on the browser but on the vs code they display correctly also when pasting them to google translate they are translated on latin numbers correctly only the problem is that on the browser they are displayed on different order.

This is how they look on vs code Array of numbers

And this is how they are displayed on the browser Numbers on the browser

Does anyone know how to solve this?

1

There are 1 answers

2
florian dollani On

I'm making the question more clear and short

This is a number writed on Latin on vs-code number photo

Now this is the same number writed on Arabic numbers Arabic number image

And I want that the Arabic number should display on browser Like it is on the vs code but the browser displays the Arabic numbers on different order Browser numbers image

Even if I try dir="rtl" It also changes the order but not as I want