ZF2 locale direction (rtl -or- ltr)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ZF2 locale direction (rtl -or- ltr)

Mohammad ZeinEddin
This post has NOT been accepted by the mailing list yet.
Hi:
In zf2, is there anyway to know the direction of the Locale I am using? for example the direction for
new Locale('en_US')
must return ltr or "left-to-right" and the direction for
new Locale('ar_SA')
must return rtl or "right-to-left"