Hi Vincent,
What I understood is:
If its english it should display like this.
.this like display should it Arabic its if
Where as the required text is all good just the halign ??
Well can you have a hidden field in your form which can be filled with EN / AR by your program looking at the user's language.
Now in the form on doc ready check the value of the hidden field and then put your Java script like below.
if(XXXX.rawValue = "EN")
form1.Page.Subform.Text1.para.hAlign = "left";
Else
form1.Page.Subform.Text1.para.hAlign = "right";
Here Text1 is the text which is bearing the floating field.
Give it a try and let me know for any queries.
Cheers,
Sai