mpcabd / python-arabic-reshaper

Reconstruct Arabic sentences to be used in applications that don't support Arabic
MIT License
395 stars 81 forks source link

Reshaping not as it should be, ltr direction not rtl #56

Closed jwtiyar closed 3 years ago

jwtiyar commented 3 years ago

Hey I have installed arabic_reshaper, I am writing kurdish texts and arabic texts, both will not reshaped well, just their characters change not direction.

import arabic_reshaper
arabic = "اللغة العربية"
chakkraw = arabic_reshaper.reshape(chakkrdnywshe)
ckb_kurdish = "چۆنی"
chakyw = arabic_reshaper.reshape(chakkrdnywshe1)
print(arabic)
print(ckb_kurdish)

It shows the like this:

reshape Iam missing anything?

jwtiyar commented 3 years ago

My bad bidi solved it. close#