ZF-12254: wrong number localization for Arabic Saudi locale

Issue Type: Bug Created: 2012-05-27T08:24:46.000+0000 Last Updated: 2012-08-31T08:02:47.000+0000 Status: Open Fix version(s): Reporter: Ibrahim (opairah) Assignee: Thomas Weidner (thomas) Tags: - Zend_Locale

  • translation

Related issues: - ZF-12029



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


and everything worked normally now.


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.