WebSite X5Help Center

 
kia B.
kia B.
User

Combination of Arabic and English words  en

Auteur : kia B.
Visité 2127, Followers 1, Partagé 0  

Hello

when I using combination of arabic/persian and english words in text, order of words changes and result is incorrect.

Incorrect:     این یک Test است.

Correct:       .است Test این یک

Posté le
5 RéPONSES
Incomedia
Claudio D.
Incomedia

Hello Kia,

Can you please tell me how you add the text? Do you type it directly in the program or do you copy/paste it from another source?

What version are you using?

Many thanks!

Lire plus
Posté le de Claudio D.
kia B.
kia B.
User
Auteur

Hello Claudio,

I tested every two methods (type directly and also type in word and copy paste to X5).

result was same. even I tried to edit html file directly and add "rtl" direction in code, but didn't work.

I tested html and widget option too, I write text in other web page design software and import all codes to this plugin, but when preview, order of words changs too.

Best regards,

Lire plus
Posté le de kia B.
Incomedia
Claudio D.
Incomedia

Hello Kia,

Can you please tell me what Version are you using and also write me the product code so I can add it to your profile?

Can you also write me the code you add to the HTML&Widget Object so I can test it?

Many thanks!

Lire plus
Posté le de Claudio D.
kia B.
kia B.
User
Auteur

I use your latest demo version for deciding to buy software. I downloaded it from your site.

codeas are below for text that I typed in the first:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<html dir="rtl">
این یک Test است.
</body>
</html>

Please notice to "<html dir="rtl">"line that shows the text direction.(in this code: right to left)

Best Regards,

Lire plus
Posté le de kia B.
Incomedia
Claudio D.
Incomedia

Hello Kia,

Thank you very much for the code. You don't need to add the header code since otherwise it's doubled. Instead try to add following code where you add your text in the HTML&Widget Object:

<p dir="rtl">این یک Test است.</p>

The Text has to be added between the <p dir="rtl> and the closing tag </p>

Please let me know if it works.

Lire plus
Posté le de Claudio D.