WebSite X5Help Center

 
kia B.
kia B.
User

Combination of Arabic and English words  en

Autor: kia B.
Besucht 2156, Followers 1, Geteilt 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 این یک

Gepostet am
5 ANTWORTEN
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!

Mehr lesen
Gepostet am von Claudio D.
kia B.
kia B.
User
Autor

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,

Mehr lesen
Gepostet am von 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!

Mehr lesen
Gepostet am von Claudio D.
kia B.
kia B.
User
Autor

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,

Mehr lesen
Gepostet am von 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.

Mehr lesen
Gepostet am von Claudio D.