ZF-10294: Zend_Locale LanguageToTerritory return incomplete datas

Description

Hello,

I've made to get languages per country using Zend_Locale. We are located in Spain and the returned list is incomplete.


  $LanguageToTerritory = Zend_Locale::getTranslationList('LanguageToTerritory');

  print_r($LanguageToTerritory['ES']);

RETURNED RESULT

 
ast es eu gl

EXPECTED RESULT

 
ast ca es eu gl

"ca" is for "catalan"

It seems that datas exist in Zend_Locale xml file...

Comments

"ca" is noted as "AD" (andorra). For "ES" catalan is only noted as secondary which means not official.