views:

180

answers:

1

i need to get the current locale direction in zend_locale either rtl or ltr

A: 
$localeData = Zend_Locale_Data::getList('ar_SA', 'layout'));
echo $localeData['characters'];

That will return right-to-left or left-to-right

Mark