show text in Arabic in RTF template

1.2k Views Asked by At

I have RTF Template and I need to show words of total amount in Arabic

for example :

Total Amount : 136,369.58

English Format : ONE HUNDRED THIRTY-SIX THOUSAND THREE HUNDRED SIXTY-NINE AND FIFTY-EIGHT

Arabic Format : مائة وستة وثلاثون ألفًا وثلاثمائة وتسعة وستون ريال وثمانية وخمسون هلله

I used xdoxslt:toCheckNumber($_XDOLOCALE, sum(COLUMN_NAME), ‘EUR’, ‘CASE_UPPER’, ‘DECIMAL_STYLE_WORDS’) to get English Format and it worked fine for English but does not work for Arabic.

I tried many google links to get Arabic Format but I got nothing.

1

There are 1 best solutions below

1
Abdelrahman Argawy On

This working fine , I guess. Good Luck Remove the space between the first < and ?

< ?xdoxslt:toCheckNumber('AR-SAR', FINAL_AMOUNT, 2)?>