Jump to content

Bi-directional text issue in {$invoice_html_contents}


Recommended Posts



We use WHMCS in Arabic.

Arabic is RTL language and it is written from right to left.

When mixing two languages with different directions the result we get is a mess and disordered words and numbers.


For example, we can't do any styling inside {$invoice_html_contents}.


The numbers of the date is mixed up with the numbers of the product cost and so the client can't understand anything.


A partial solution to this problem is to put each element in a class then we can control the format of each element individually and determine its direction.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated