Issues

ZF-10294: Zend_Locale LanguageToTerritory return incomplete datas

Issue Type: Bug Created: 2010-08-11T12:12:13.000+0000 Last Updated: 2012-11-20T21:37:39.000+0000 Status: Open Fix version(s): Reporter: S├ębastien Cramatte (scramatte) Assignee: None Tags: - Zend_Locale

Related issues: Attachments:

Description

Hello,

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

<pre class="highlight">
  $LanguageToTerritory = Zend_Locale::getTranslationList('LanguageToTerritory');

  print_r($LanguageToTerritory['ES']);

RETURNED RESULT

<pre class="highlight"> 
ast es eu gl

EXPECTED RESULT

<pre class="highlight"> 
ast ca es eu gl

"ca" is for "catalan"

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

Comments

Posted by Thomas Weidner (thomas) on 2010-08-12T04:04:28.000+0000

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

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts