ZF-7485: Add script support (Cyrillic, Latin) to the Zend_Locale constructor
I am making an app which needs to have a Serbian translation. Serbian has both cyrillic and latin scripts, and they are present in Zend/Locale/Data/ as sr_Cyrl_RS.xml and sr_Latn_RS.xml. The sr_RS locale points to the cyrillic version.
When I do a $locale = new Zend_Locale('sr_RS'), I would like to be able to specify the script as well.
For example: $locale = new Zend_Locale('sr_RS@Latin');
Without it I'm limited to the Cyrilic version (months, etc), which is unacceptable.
Thank you for your time.