I have a problem with the direction of viewing the arabic rich text.
The client had a website of book summaries in Arabic… So the database had the field “body” with html code in it to display the Arabic content.
When I exported that data to .csv file and imported it to the collection I created on wix … The text is aligned to the left no matter what I tried.
Here are some tries of mine:
- I tried to open the rich text editor for each row of the collection … select the text manually and align it to the right and it didn’t work
- I tried opening the rich text HTML and adding dir=“rtl” to each paragraph and it didn’t work.
So I think I need some help here knowing that all the text is already in html and I can’t change it manually because the data is massive.
Thanks in advance.
Is it only a problem in the content manager? In the live site do your texts direction right as expected?
Hey Mohammed,
I feel your pain. As I recall, I’ve had some problems in the past with right-to-left CSV files - nothing to do with Wix or WixCode. I was just trying to move some Hebrew text from one place to another. It seems as if CSV is somewhat problematic in this regard.
Based on my experience, and the stories of other users here on the forum, I believe that right-to-left can be achieved - but it requires some patience, and everything has to be just right.
Did you use UTF-8 in the export and import of the CSV file?
Does the original HTML text contain any “interesting” characters, control codes, or strings that might cause conflicts or problems?
I hope that something I said might be helpful.
Good luck,
Yisrael