VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: ahmedfouad on September 11, 2017, 12:37:05 PM

Title: RTL Invoice & orders confirmation emails
Post by: ahmedfouad on September 11, 2017, 12:37:05 PM
I'm using Joomla 3.7.3
Virtuemart 3.2.2

I Using Virtuemart in Arabic Lang and I have a problem with emails the text in Arabic but the alignment is wrong(Left align) how to fix this?
Please note:
I searched the forum for solution and I did't find one
What may seem easy for developer could be very hard for ordinary users so excuse me.
Title: Re: RTL Invoice & orders confirmation emails
Post by: Studio 42 on September 12, 2017, 02:28:36 AM
If you mixed English and arabic.
You need to add in arabic part
<div dir="rtl">
YOURTEXT HERE
</div>

See https://www.w3.org/International/questions/qa-html-dir for more explain.
If the problem is right aligment you can use
<div style="text-align:right;">
YOURTEXT HERE
</div>

But the 1st solution is better