Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Right-to-left emails broken: fix Arabic and Hebrew layout

DLV-238Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Most email templates are built for left-to-right (LTR) text. When the content is Arabic, Hebrew, Persian or Urdu, the email client still lays it out as LTR unless you tell it otherwise. The result is text hugging the left edge, full stops and brackets on the wrong end of a sentence, and numbers, names or links mixed in from Latin text appearing in the wrong order.

Why it costs you leads or sales

Impact is usually low but real. A confirmation email that looks broken makes a business seem careless, and a garbled order summary can leave customers unsure what they bought. Staff reading mixed-direction lead messages can misread a phone number, a name or an address. Buttons placed on the wrong side can also be easier to miss.

Where an RTL email goes wrong
  1. Arabic form submittedVisitor fills the form in RTL
  2. Email sentTemplate has no dir attribute
  3. Email renderedText left-aligned, punctuation jumbled
  4. Reader actsMisreads or distrusts the message

The form and delivery work, but the layout breaks at the reading step.

How to check if your site has it

Check your RTL emails
  1. Trigger real emails in the RTL language

    Submit your form, place a test order or sign up using the Arabic, Hebrew or Persian version of your site so the real template is used.

  2. Open them in several clients

    Check Gmail (web and app), Apple Mail, Outlook desktop and a phone client. Outlook is the most likely to ignore direction settings.

  3. Look for the usual signs

    Text aligned left, full stops or question marks at the start of a line, brackets flipped, numbers or URLs in the wrong place, two-column layouts in the wrong order.

  4. View the HTML source

    Search the email source for dir= . If there is none on the html, body or content cells, the client is guessing.

How to fix it

The core fix is the same everywhere: mark the email as RTL, align text right, and order columns for RTL. Email clients support CSS unevenly, so use HTML attributes as well as CSS.

RTL-safe email skeletonhtml
<html lang="ar" dir="rtl">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body dir="rtl" style="margin:0;padding:0;direction:rtl;text-align:right;">
<table role="presentation" width="100%" dir="rtl" style="direction:rtl;">
<tr>
<td dir="rtl" align="right" style="direction:rtl;text-align:right;font-family:Arial,Tahoma,sans-serif;">
مرحباً، شكراً لتواصلك معنا.
</td>
</tr>
</table>
</body>
</html>
Where to apply it
  1. Find the template

    Form plugins (Contact Form 7, WPForms, Gravity Forms and others) and WooCommerce each have their own email settings. WooCommerce email templates can be overridden in your theme under woocommerce/emails/.

  2. Add direction

    Add dir="rtl" and text-align:right to the wrapper table and cells. If the template uses is_rtl(), check that your site language is set to an RTL language under Settings > General.

  3. Use a language-specific template

    If you run a multilingual plugin, send the RTL version of the email for RTL submissions rather than one shared LTR template.

Isolate user-submitted values in a mixed-direction emailhtml
<p dir="rtl" style="text-align:right;">
الاسم: <bdi>John Smith</bdi><br>
الهاتف: <bdi dir="ltr">+44 20 7946 0000</bdi>
</p>
Same email, before and after

No direction set

  • Text aligned to the left
  • Full stop appears at the start of the line
  • Phone number digits mixed into the sentence
  • Image and text columns in LTR order

dir=rtl with isolated values

  • Text aligned to the right
  • Punctuation at the end of the sentence
  • Phone number kept intact with bdi
  • Columns ordered right to left

How to confirm it's fixed

Confirmation checklist
  • Subject line and body read correctly in Gmail web and mobile
  • Apple Mail and Outlook desktop show right-aligned text
  • Punctuation sits at the end of sentences
  • Names, emails, phone numbers and URLs stay intact
  • Buttons and columns appear in RTL order
  • Dark mode does not break alignment or contrast
  • The English or LTR version of the email is unchanged

How to prevent it happening again

Keep a separate RTL version of each key email, or build one template that sets direction from the language. Add RTL to your release checklist: whenever someone edits a template, send a test in Arabic or Hebrew to a few inboxes. Keep a saved sample of right-to-left text with a mixed Latin name, number and link, and use it every time.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. FunnelGuard runs your customer journeys, checks the tracking hits and confirms that test leads reach the inbox and CRM. It does not judge how an email looks in different clients or whether right-to-left text is laid out correctly.

The kind of tool that fits is an email rendering and preview tester, which shows your email in many real clients and devices, ideally combined with a manual review by a native Arabic or Hebrew reader.

Frequently asked questions

Questions people ask

Why is my Arabic email aligned to the left?

The email HTML has no text direction, so clients default to left-to-right. Add dir="rtl" to the html, body and table cells and set text-align:right. Test in Gmail, Apple Mail and Outlook.

Why are the full stops and question marks on the wrong side in my Hebrew email?

Punctuation is neutral in the bidirectional algorithm, so it follows the surrounding direction. With no RTL direction set, it attaches to the left-to-right context. Setting dir="rtl" on the container fixes it.

How do I make an HTML email right-to-left?

Add lang and dir="rtl" to the html tag, add dir="rtl" and direction:rtl to the body and table cells, and use text-align:right. Use UTF-8 encoding and a font that supports the script.

Why does Outlook ignore my RTL CSS?

Outlook desktop uses a limited rendering engine that ignores some CSS. Use HTML attributes such as dir="rtl" and align="right" on tables and cells, alongside inline styles.

How do I stop English names and phone numbers scrambling Arabic text?

Wrap each value in a bdi element, or a span with dir="auto" or dir="ltr" for numbers. This isolates it so it does not reorder the surrounding sentence.

Do I need a separate email template for RTL languages?

Not always. One template can set direction from the language, but layouts with columns, icons or arrows often need mirrored versions. A separate RTL template is often the simplest to test.

Can FunnelGuard check whether my RTL emails look right?

No. FunnelGuard does not check email layout or rendering. An email rendering and preview tester, plus a native-speaker review, is the right tool for this.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.