Forum Discussion
MahdiMalekan
3 years agoCommunity Member
JavaScript Text Direction
I have a challenge with text direction. I usually use Persian/Arabic language which is Right to Left direction.I also used JavaScript code in it and wrote something in Persian/Arabic language in par...
PhilMayor
3 years agoSuper Hero
I presume that in Arabic text is RTL and number are LTR is that right? Could you inverse the numbers before you send them?
- MahdiMalekan3 years agoCommunity Member
Yes, you are correct.but Reversing the numbers doesn't solve the problem because the same thing happens with words
Actually, I translated some English words in the codes into Farsi.
I will send the code link below for you to take a look.
https://stackoverflow.com/questions/73748948/text-direction-issue-in-javascript