ZF-12254: wrong number localization for Arabic Saudi locale

Description

if you set locale to ar_SA it will have date array returns instead of integer, if you changed the locale to 'ar' or 'ar_JO' it will work normally.

I got the following two lines code from magento 1.6.2:

$filter = new Zend_Filter_LocalizedToNormalized(array('locale' => 'ar_SA')); $cartData[$index]['qty'] = $filter->filter(5);

to fix this issue I have removed the following block from ar_SA.xml

#0.###;#0.###-

and everything worked normally now.

Comments

No comments to display