Lib_ZF_Locale - Version 1.9.6.1

Version Notes

1.9.6.1

Download this release

Release Info

Developer Magento Core Team
Extension Lib_ZF_Locale
Version 1.9.6.1
Comparing to
See all releases


Code changes from version 1.7.2.2 to 1.9.6.1

Files changed (82) hide show
  1. lib/Zend/Locale.php +119 -66
  2. lib/Zend/Locale/Data.php +300 -36
  3. lib/Zend/Locale/Data/Translation.php +3 -3
  4. lib/Zend/Locale/Data/aa.xml +8 -47
  5. lib/Zend/Locale/Data/aa_DJ.xml +4 -13
  6. lib/Zend/Locale/Data/aa_ER.xml +4 -13
  7. lib/Zend/Locale/Data/aa_ER_SAAHO.xml +39 -0
  8. lib/Zend/Locale/Data/aa_ET.xml +3 -3
  9. lib/Zend/Locale/Data/af.xml +18 -23
  10. lib/Zend/Locale/Data/af_NA.xml +7 -8
  11. lib/Zend/Locale/Data/af_ZA.xml +3 -3
  12. lib/Zend/Locale/Data/ak.xml +8 -13
  13. lib/Zend/Locale/Data/ak_GH.xml +3 -3
  14. lib/Zend/Locale/Data/am.xml +17 -24
  15. lib/Zend/Locale/Data/am_ET.xml +3 -3
  16. lib/Zend/Locale/Data/ar.xml +3115 -3104
  17. lib/Zend/Locale/Data/ar_AE.xml +3 -3
  18. lib/Zend/Locale/Data/ar_BH.xml +3 -3
  19. lib/Zend/Locale/Data/ar_DZ.xml +27 -3
  20. lib/Zend/Locale/Data/ar_EG.xml +3 -3
  21. lib/Zend/Locale/Data/ar_IQ.xml +3 -3
  22. lib/Zend/Locale/Data/ar_JO.xml +3 -3
  23. lib/Zend/Locale/Data/ar_KW.xml +3 -3
  24. lib/Zend/Locale/Data/ar_LB.xml +3 -8
  25. lib/Zend/Locale/Data/ar_LY.xml +3 -3
  26. lib/Zend/Locale/Data/ar_MA.xml +30 -3
  27. lib/Zend/Locale/Data/ar_OM.xml +3 -3
  28. lib/Zend/Locale/Data/ar_QA.xml +3 -3
  29. lib/Zend/Locale/Data/ar_SA.xml +3 -3
  30. lib/Zend/Locale/Data/ar_SD.xml +3 -3
  31. lib/Zend/Locale/Data/ar_SY.xml +3 -3
  32. lib/Zend/Locale/Data/ar_TN.xml +24 -3
  33. lib/Zend/Locale/Data/ar_YE.xml +3 -3
  34. lib/Zend/Locale/Data/as.xml +7 -13
  35. lib/Zend/Locale/Data/as_IN.xml +3 -3
  36. lib/Zend/Locale/Data/az.xml +14 -50
  37. lib/Zend/Locale/Data/az_AZ.xml +3 -3
  38. lib/Zend/Locale/Data/az_Cyrl.xml +4 -4
  39. lib/Zend/Locale/Data/az_Cyrl_AZ.xml +3 -3
  40. lib/Zend/Locale/Data/az_Latn.xml +3 -3
  41. lib/Zend/Locale/Data/az_Latn_AZ.xml +3 -3
  42. lib/Zend/Locale/Data/be.xml +35 -135
  43. lib/Zend/Locale/Data/be_BY.xml +3 -3
  44. lib/Zend/Locale/Data/bg.xml +1176 -225
  45. lib/Zend/Locale/Data/bg_BG.xml +3 -3
  46. lib/Zend/Locale/Data/bn.xml +148 -233
  47. lib/Zend/Locale/Data/bn_BD.xml +3 -3
  48. lib/Zend/Locale/Data/bn_IN.xml +9 -167
  49. lib/Zend/Locale/Data/bo.xml +441 -0
  50. lib/Zend/Locale/Data/bo_CN.xml +10 -0
  51. lib/Zend/Locale/Data/bo_IN.xml +10 -0
  52. lib/Zend/Locale/Data/bs.xml +7 -14
  53. lib/Zend/Locale/Data/bs_BA.xml +3 -3
  54. lib/Zend/Locale/Data/byn.xml +10 -16
  55. lib/Zend/Locale/Data/byn_ER.xml +3 -3
  56. lib/Zend/Locale/Data/ca.xml +1866 -257
  57. lib/Zend/Locale/Data/ca_ES.xml +3 -3
  58. lib/Zend/Locale/Data/cch.xml +9 -14
  59. lib/Zend/Locale/Data/cch_NG.xml +3 -3
  60. lib/Zend/Locale/Data/characters.xml +478 -1884
  61. lib/Zend/Locale/Data/cop.xml +7 -12
  62. lib/Zend/Locale/Data/cs.xml +364 -130
  63. lib/Zend/Locale/Data/cs_CZ.xml +3 -3
  64. lib/Zend/Locale/Data/cy.xml +18 -25
  65. lib/Zend/Locale/Data/cy_GB.xml +3 -3
  66. lib/Zend/Locale/Data/da.xml +304 -154
  67. lib/Zend/Locale/Data/da_DK.xml +3 -3
  68. lib/Zend/Locale/Data/de.xml +143 -219
  69. lib/Zend/Locale/Data/de_AT.xml +11 -12
  70. lib/Zend/Locale/Data/de_BE.xml +13 -19
  71. lib/Zend/Locale/Data/de_CH.xml +9 -3
  72. lib/Zend/Locale/Data/de_DE.xml +3 -3
  73. lib/Zend/Locale/Data/de_LI.xml +3 -4
  74. lib/Zend/Locale/Data/de_LU.xml +3 -3
  75. lib/Zend/Locale/Data/dv.xml +8 -13
  76. lib/Zend/Locale/Data/dv_MV.xml +3 -3
  77. lib/Zend/Locale/Data/dz.xml +10 -22
  78. lib/Zend/Locale/Data/dz_BT.xml +3 -3
  79. lib/Zend/Locale/Data/ee.xml +8 -14
  80. lib/Zend/Locale/Data/ee_GH.xml +3 -3
  81. lib/Zend/Locale/Data/ee_TG.xml +3 -3
  82. lib/Zend/Locale/Data/el.xml +147 -18
lib/Zend/Locale.php CHANGED
@@ -14,9 +14,9 @@
14
  *
15
  * @category Zend
16
  * @package Zend_Locale
17
- * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
18
  * @license http://framework.zend.com/license/new-bsd New BSD License
19
- * @version $Id: Locale.php 13368 2008-12-19 10:48:07Z thomas $
20
  */
21
 
22
  /**
@@ -24,7 +24,7 @@
24
  *
25
  * @category Zend
26
  * @package Zend_Locale
27
- * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
28
  * @license http://framework.zend.com/license/new-bsd New BSD License
29
  */
30
  class Zend_Locale
@@ -45,67 +45,71 @@ class Zend_Locale
45
  'be' => true, 'bg_BG' => true, 'bg' => true, 'bn_BD' => true, 'bn_IN' => true,
46
  'bn' => true, 'bo_CN' => true, 'bo_IN' => true, 'bo' => true, 'bs_BA' => true,
47
  'bs' => true, 'byn_ER'=> true, 'byn' => true, 'ca_ES' => true, 'ca' => true,
48
- 'cch_NG'=> true, 'cch' => true, 'cop_EG'=> true, 'cop_US'=> true, 'cop' => true,
49
- 'cs_CZ' => true, 'cs' => true, 'cy_GB' => true, 'cy' => true, 'da_DK' => true,
50
- 'da' => true, 'de_AT' => true, 'de_BE' => true, 'de_CH' => true, 'de_DE' => true,
51
- 'de_LI' => true, 'de_LU' => true, 'de' => true, 'dv_MV' => true, 'dv' => true,
52
- 'dz_BT' => true, 'dz' => true, 'ee_GH' => true, 'ee_TG' => true, 'ee' => true,
53
- 'el_CY' => true, 'el_GR' => true, 'el' => true, 'en_AS' => true, 'en_AU' => true,
54
- 'en_BE' => true, 'en_BW' => true, 'en_BZ' => true, 'en_CA' => true, 'en_GB' => true,
55
- 'en_GU' => true, 'en_HK' => true, 'en_IE' => true, 'en_IN' => true, 'en_JM' => true,
56
- 'en_MH' => true, 'en_MP' => true, 'en_MT' => true, 'en_NZ' => true, 'en_PH' => true,
57
- 'en_PK' => true, 'en_SG' => true, 'en_TT' => true, 'en_UM' => true, 'en_US' => true,
58
- 'en_VI' => true, 'en_ZA' => true, 'en_ZW' => true, 'en' => true, 'eo' => true,
59
- 'es_AR' => true, 'es_BO' => true, 'es_CL' => true, 'es_CO' => true, 'es_CR' => true,
60
- 'es_DO' => true, 'es_EC' => true, 'es_ES' => true, 'es_GT' => true, 'es_HN' => true,
61
- 'es_MX' => true, 'es_NI' => true, 'es_PA' => true, 'es_PE' => true, 'es_PR' => true,
62
- 'es_PY' => true, 'es_SV' => true, 'es_US' => true, 'es_UY' => true, 'es_VE' => true,
63
- 'es' => true, 'et_EE' => true, 'et' => true, 'eu_ES' => true, 'eu' => true,
64
- 'fa_AF' => true, 'fa_IR' => true, 'fa' => true, 'fi_FI' => true, 'fi' => true,
65
  'fil' => true, 'fo_FO' => true, 'fo' => true, 'fr_BE' => true, 'fr_CA' => true,
66
- 'fr_CH' => true, 'fr_FR' => true, 'fr_LU' => true, 'fr_MC' => true, 'fr' => true,
67
- 'fur_IT'=> true, 'fur' => true, 'ga_IE' => true, 'ga' => true, 'gaa_GH'=> true,
68
- 'gaa' => true, 'gez_ER'=> true, 'gez_ET'=> true, 'gez' => true, 'gl_ES' => true,
69
- 'gl' => true, 'gu_IN' => true, 'gu' => true, 'gv_GB' => true, 'gv' => true,
70
- 'ha_GH' => true, 'ha_NE' => true, 'ha_NG' => true, 'ha' => true, 'haw_US'=> true,
71
- 'haw' => true, 'he_IL' => true, 'he' => true, 'hi_IN' => true, 'hi' => true,
72
- 'hr_HR' => true, 'hr' => true, 'hu_HU' => true, 'hu' => true, 'hy_AM' => true,
73
- 'hy' => true, 'ia' => true, 'id_ID' => true, 'id' => true, 'ig_NG' => true,
74
- 'ig' => true, 'ii_CN' => true, 'ii' => true, 'is_IS' => true, 'is' => true,
75
- 'it_CH' => true, 'it_IT' => true, 'it' => true, 'iu' => true, 'ja_JP' => true,
76
- 'ja' => true, 'ka_GE' => true, 'ka' => true, 'kaj_NG'=> true, 'kaj' => true,
77
- 'kam_KE'=> true, 'kam' => true, 'kcg_NG'=> true, 'kcg' => true, 'kfo_NG'=> true,
78
- 'kfo' => true, 'kk_KZ' => true, 'kk' => true, 'kl_GL' => true, 'kl' => true,
79
- 'km_KH' => true, 'km' => true, 'kn_IN' => true, 'kn' => true, 'ko_KR' => true,
80
- 'ko' => true, 'kok_IN'=> true, 'kok' => true, 'kpe_GN'=> true, 'kpe_LR'=> true,
81
- 'kpe' => true, 'ku_IQ' => true, 'ku_IR' => true, 'ku_SY' => true, 'ku_TR' => true,
82
- 'ku' => true, 'kw_GB' => true, 'kw' => true, 'ky_KG' => true, 'ky' => true,
83
- 'ln_CD' => true, 'ln_CG' => true, 'ln' => true, 'lo_LA' => true, 'lo' => true,
84
- 'lt_LT' => true, 'lt' => true, 'lv_LV' => true, 'lv' => true, 'mk_MK' => true,
85
- 'mk' => true, 'ml_IN' => true, 'ml' => true, 'mn_MN' => true, 'mn' => true,
86
- 'mr_IN' => true, 'mr' => true, 'ms_BN' => true, 'ms_MY' => true, 'ms' => true,
87
- 'mt_MT' => true, 'mt' => true, 'my_MM' => true, 'my' => true, 'nb_NO' => true,
88
- 'nb' => true, 'ne_NP' => true, 'ne' => true, 'nl_BE' => true, 'nl_NL' => true,
89
- 'nl' => true, 'nn_NO' => true, 'nn' => true, 'nr_ZA' => true, 'nr' => true,
90
- 'nso_ZA'=> true, 'nso' => true, 'ny_MW' => true, 'ny' => true, 'om_ET' => true,
91
- 'om_KE' => true, 'om' => true, 'or_IN' => true, 'or' => true, 'pa_IN' => true,
92
- 'pa_PK' => true, 'pa' => true, 'pl_PL' => true, 'pl' => true, 'ps_AF' => true,
93
- 'ps' => true, 'pt_BR' => true, 'pt_PT' => true, 'pt' => true, 'ro_RO' => true,
 
 
 
94
  'ro' => true, 'ru_RU' => true, 'ru_UA' => true, 'ru' => true, 'rw_RW' => true,
95
  'rw' => true, 'sa_IN' => true, 'sa' => true, 'se_FI' => true, 'se_NO' => true,
96
  'se' => true, 'sh_BA' => true, 'sh_CS' => true, 'sh_YU' => true, 'sh' => true,
97
- 'sid_ET'=> true, 'sid' => true, 'sk_SK' => true, 'sk' => true, 'sl_SI' => true,
98
- 'sl' => true, 'so_DJ' => true, 'so_ET' => true, 'so_KE' => true, 'so_SO' => true,
99
- 'so' => true, 'sq_AL' => true, 'sq' => true, 'sr_BA' => true, 'sr_CS' => true,
100
- 'sr_ME' => true, 'sr_RS' => true, 'sr_YU' => true, 'sr' => true, 'ss_ZA' => true,
101
- 'ss' => true, 'ssy' => true, 'st_ZA' => true, 'st' => true, 'sv_FI' => true,
102
- 'sv_SE' => true, 'sv' => true, 'sw_KE' => true, 'sw_TZ' => true, 'sw' => true,
103
- 'syr_SY'=> true, 'syr' => true, 'ta_IN' => true, 'ta' => true, 'te_IN' => true,
104
- 'te' => true, 'tg_TJ' => true, 'tg' => true, 'th_TH' => true, 'th' => true,
105
- 'ti_ER' => true, 'ti_ET' => true, 'ti' => true, 'tig_ER'=> true, 'tig' => true,
106
- 'tn_ZA' => true, 'tn' => true, 'to_TO' => true, 'to' => true, 'tr_TR' => true,
107
- 'tr' => true, 'ts_ZA' => true, 'ts' => true, 'tt_RU' => true, 'tt' => true,
108
- 'ug' => true, 'uk_UA' => true, 'uk' => true, 'und_ZZ'=> true, 'und' => true,
 
109
  'ur_IN' => true, 'ur_PK' => true, 'ur' => true, 'uz_AF' => true, 'uz_UZ' => true,
110
  'uz' => true, 've_ZA' => true, 've' => true, 'vi_VN' => true, 'vi' => true,
111
  'wal_ET'=> true, 'wal' => true, 'wo_SN' => true, 'wo' => true, 'xh_ZA' => true,
@@ -127,7 +131,7 @@ class Zend_Locale
127
  *
128
  * @var boolean
129
  */
130
- public static $compatibilityMode = true;
131
 
132
  /**
133
  * Internal variable
@@ -247,7 +251,7 @@ class Zend_Locale
247
  }
248
 
249
  /**
250
- * Sets a new default locale
251
  * If provided you can set a quality between 0 and 1 (or 2 and 100)
252
  * which represents the percent of quality the browser
253
  * requested within HTTP
@@ -275,12 +279,13 @@ class Zend_Locale
275
  $quality /= 100;
276
  }
277
 
 
278
  if (isset(self::$_localeData[(string) $locale]) === true) {
279
  self::$_default = array((string) $locale => $quality);
280
  } else {
281
- $locale = explode('_', (string) $locale);
282
- if (isset(self::$_localeData[$locale[0]]) === true) {
283
- self::$_default = array($locale[0] => $quality);
284
  } else {
285
  #require_once 'Zend/Locale/Exception.php';
286
  throw new Zend_Locale_Exception("Unknown locale '" . (string) $locale . "' can not be set as default!");
@@ -440,7 +445,7 @@ class Zend_Locale
440
  /**
441
  * Returns the language part of the locale
442
  *
443
- * @return language
444
  */
445
  public function getLanguage()
446
  {
@@ -538,9 +543,11 @@ class Zend_Locale
538
  *
539
  * @param string|Zend_Locale $locale (Optional) Locale for language translation
540
  * @return array
 
541
  */
542
  public static function getLanguageTranslationList($locale = null)
543
  {
 
544
  return self::getTranslationList('language', $locale);
545
  }
546
 
@@ -549,9 +556,11 @@ class Zend_Locale
549
  *
550
  * @param string|Zend_Locale $locale (Optional) Locale for script translation
551
  * @return array
 
552
  */
553
  public static function getScriptTranslationList($locale = null)
554
  {
 
555
  return self::getTranslationList('script', $locale);
556
  }
557
 
@@ -560,9 +569,11 @@ class Zend_Locale
560
  *
561
  * @param string|Zend_Locale $locale (Optional) Locale for country translation
562
  * @return array
 
563
  */
564
  public static function getCountryTranslationList($locale = null)
565
  {
 
566
  return self::getTranslationList('territory', $locale, 2);
567
  }
568
 
@@ -572,9 +583,11 @@ class Zend_Locale
572
  *
573
  * @param string|Zend_Locale $locale (Optional) Locale for territory translation
574
  * @return array
 
575
  */
576
  public static function getTerritoryTranslationList($locale = null)
577
  {
 
578
  return self::getTranslationList('territory', $locale, 1);
579
  }
580
 
@@ -605,9 +618,11 @@ class Zend_Locale
605
  * @param string $value Name to get detailed information about
606
  * @param string $locale (Optional) Locale for language translation
607
  * @return array
 
608
  */
609
  public static function getLanguageTranslation($value, $locale = null)
610
  {
 
611
  return self::getTranslation($value, 'language', $locale);
612
  }
613
 
@@ -617,9 +632,11 @@ class Zend_Locale
617
  * @param string $value Name to get detailed information about
618
  * @param string $locale (Optional) locale for script translation
619
  * @return array
 
620
  */
621
  public static function getScriptTranslation($value, $locale = null)
622
  {
 
623
  return self::getTranslation($value, 'script', $locale);
624
  }
625
 
@@ -629,9 +646,11 @@ class Zend_Locale
629
  * @param string $value Name to get detailed information about
630
  * @param string|Zend_Locale $locale (Optional) Locale for country translation
631
  * @return array
 
632
  */
633
  public static function getCountryTranslation($value, $locale = null)
634
  {
 
635
  return self::getTranslation($value, 'country', $locale);
636
  }
637
 
@@ -642,9 +661,11 @@ class Zend_Locale
642
  * @param string $value Name to get detailed information about
643
  * @param string|Zend_Locale $locale (Optional) Locale for territory translation
644
  * @return array
 
645
  */
646
  public static function getTerritoryTranslation($value, $locale = null)
647
  {
 
648
  return self::getTranslation($value, 'territory', $locale);
649
  }
650
 
@@ -728,6 +749,14 @@ class Zend_Locale
728
  */
729
  public static function isLocale($locale, $strict = false, $compatible = true)
730
  {
 
 
 
 
 
 
 
 
731
  try {
732
  $locale = self::_prepareLocale($locale, $strict);
733
  } catch (Zend_Locale_Exception $e) {
@@ -873,6 +902,18 @@ class Zend_Locale
873
  Zend_Locale_Data::clearCache();
874
  }
875
 
 
 
 
 
 
 
 
 
 
 
 
 
876
  /**
877
  * Internal function, returns a single locale on detection
878
  *
@@ -930,6 +971,18 @@ class Zend_Locale
930
  $locale = strtr($locale, '-', '_');
931
  }
932
 
 
 
 
 
 
 
 
 
 
 
 
 
933
  return (string) $locale;
934
  }
935
 
14
  *
15
  * @category Zend
16
  * @package Zend_Locale
17
+ * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
18
  * @license http://framework.zend.com/license/new-bsd New BSD License
19
+ * @version $Id: Locale.php 17479 2009-08-09 08:19:03Z thomas $
20
  */
21
 
22
  /**
24
  *
25
  * @category Zend
26
  * @package Zend_Locale
27
+ * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
28
  * @license http://framework.zend.com/license/new-bsd New BSD License
29
  */
30
  class Zend_Locale
45
  'be' => true, 'bg_BG' => true, 'bg' => true, 'bn_BD' => true, 'bn_IN' => true,
46
  'bn' => true, 'bo_CN' => true, 'bo_IN' => true, 'bo' => true, 'bs_BA' => true,
47
  'bs' => true, 'byn_ER'=> true, 'byn' => true, 'ca_ES' => true, 'ca' => true,
48
+ 'cch_NG'=> true, 'cch' => true, 'cop' => true, 'cs_CZ' => true, 'cs' => true,
49
+ 'cy_GB' => true, 'cy' => true, 'da_DK' => true, 'da' => true, 'de_AT' => true,
50
+ 'de_BE' => true, 'de_CH' => true, 'de_DE' => true, 'de_LI' => true, 'de_LU' => true,
51
+ 'de' => true, 'dv_MV' => true, 'dv' => true, 'dz_BT' => true, 'dz' => true,
52
+ 'ee_GH' => true, 'ee_TG' => true, 'ee' => true, 'el_CY' => true, 'el_GR' => true,
53
+ 'el' => true, 'en_AS' => true, 'en_AU' => true, 'en_BE' => true, 'en_BW' => true,
54
+ 'en_BZ' => true, 'en_CA' => true, 'en_GB' => true, 'en_GU' => true, 'en_HK' => true,
55
+ 'en_IE' => true, 'en_IN' => true, 'en_JM' => true, 'en_MH' => true, 'en_MP' => true,
56
+ 'en_MT' => true, 'en_NA' => true, 'en_NZ' => true, 'en_PH' => true, 'en_PK' => true,
57
+ 'en_SG' => true, 'en_TT' => true, 'en_UM' => true, 'en_US' => true, 'en_VI' => true,
58
+ 'en_ZA' => true, 'en_ZW' => true, 'en' => true, 'eo' => true, 'es_AR' => true,
59
+ 'es_BO' => true, 'es_CL' => true, 'es_CO' => true, 'es_CR' => true, 'es_DO' => true,
60
+ 'es_EC' => true, 'es_ES' => true, 'es_GT' => true, 'es_HN' => true, 'es_MX' => true,
61
+ 'es_NI' => true, 'es_PA' => true, 'es_PE' => true, 'es_PR' => true, 'es_PY' => true,
62
+ 'es_SV' => true, 'es_US' => true, 'es_UY' => true, 'es_VE' => true, 'es' => true,
63
+ 'et_EE' => true, 'et' => true, 'eu_ES' => true, 'eu' => true, 'fa_AF' => true,
64
+ 'fa_IR' => true, 'fa' => true, 'fi_FI' => true, 'fi' => true, 'fil_PH'=> true,
65
  'fil' => true, 'fo_FO' => true, 'fo' => true, 'fr_BE' => true, 'fr_CA' => true,
66
+ 'fr_CH' => true, 'fr_FR' => true, 'fr_LU' => true, 'fr_MC' => true, 'fr_SN' => true,
67
+ 'fr' => true, 'fur_IT'=> true, 'fur' => true, 'ga_IE' => true, 'ga' => true,
68
+ 'gaa_GH'=> true, 'gaa' => true, 'gez_ER'=> true, 'gez_ET'=> true, 'gez' => true,
69
+ 'gl_ES' => true, 'gl' => true, 'gsw_CH'=> true, 'gsw' => true, 'gu_IN' => true,
70
+ 'gu' => true, 'gv_GB' => true, 'gv' => true, 'ha_GH' => true, 'ha_NE' => true,
71
+ 'ha_NG' => true, 'ha_SD' => true, 'ha' => true, 'haw_US'=> true, 'haw' => true,
72
+ 'he_IL' => true, 'he' => true, 'hi_IN' => true, 'hi' => true, 'hr_HR' => true,
73
+ 'hr' => true, 'hu_HU' => true, 'hu' => true, 'hy_AM' => true, 'hy' => true,
74
+ 'ia' => true, 'id_ID' => true, 'id' => true, 'ig_NG' => true, 'ig' => true,
75
+ 'ii_CN' => true, 'ii' => true, 'in' => true, 'is_IS' => true, 'is' => true,
76
+ 'it_CH' => true, 'it_IT' => true, 'it' => true, 'iu' => true, 'iw' => true,
77
+ 'ja_JP' => true, 'ja' => true, 'ka_GE' => true, 'ka' => true, 'kaj_NG'=> true,
78
+ 'kaj' => true, 'kam_KE'=> true, 'kam' => true, 'kcg_NG'=> true, 'kcg' => true,
79
+ 'kfo_CI'=> true, 'kfo' => true, 'kk_KZ' => true, 'kk' => true, 'kl_GL' => true,
80
+ 'kl' => true, 'km_KH' => true, 'km' => true, 'kn_IN' => true, 'kn' => true,
81
+ 'ko_KR' => true, 'ko' => true, 'kok_IN'=> true, 'kok' => true, 'kpe_GN'=> true,
82
+ 'kpe_LR'=> true, 'kpe' => true, 'ku_IQ' => true, 'ku_IR' => true, 'ku_SY' => true,
83
+ 'ku_TR' => true, 'ku' => true, 'kw_GB' => true, 'kw' => true, 'ky_KG' => true,
84
+ 'ky' => true, 'ln_CD' => true, 'ln_CG' => true, 'ln' => true, 'lo_LA' => true,
85
+ 'lo' => true, 'lt_LT' => true, 'lt' => true, 'lv_LV' => true, 'lv' => true,
86
+ 'mk_MK' => true, 'mk' => true, 'ml_IN' => true, 'ml' => true, 'mn_CN' => true,
87
+ 'mn_MN' => true, 'mn' => true, 'mo' => true, 'mr_IN' => true, 'mr' => true,
88
+ 'ms_BN' => true, 'ms_MY' => true, 'ms' => true, 'mt_MT' => true, 'mt' => true,
89
+ 'my_MM' => true, 'my' => true, 'nb_NO' => true, 'nb' => true, 'nds_DE'=> true,
90
+ 'nds' => true, 'ne_IN' => true, 'ne_NP' => true, 'ne' => true, 'nl_BE' => true,
91
+ 'nl_NL' => true, 'nl' => true, 'nn_NO' => true, 'nn' => true, 'no' => true,
92
+ 'nr_ZA' => true, 'nr' => true, 'nso_ZA'=> true, 'nso' => true, 'ny_MW' => true,
93
+ 'ny' => true, 'oc_FR' => true, 'oc' => true, 'om_ET' => true, 'om_KE' => true,
94
+ 'om' => true, 'or_IN' => true, 'or' => true, 'pa_IN' => true, 'pa_PK' => true,
95
+ 'pa' => true, 'pl_PL' => true, 'pl' => true, 'ps_AF' => true, 'ps' => true,
96
+ 'pt_BR' => true, 'pt_PT' => true, 'pt' => true, 'ro_MD' => true, 'ro_RO' => true,
97
  'ro' => true, 'ru_RU' => true, 'ru_UA' => true, 'ru' => true, 'rw_RW' => true,
98
  'rw' => true, 'sa_IN' => true, 'sa' => true, 'se_FI' => true, 'se_NO' => true,
99
  'se' => true, 'sh_BA' => true, 'sh_CS' => true, 'sh_YU' => true, 'sh' => true,
100
+ 'si_LK' => true, 'si' => true, 'sid_ET'=> true, 'sid' => true, 'sk_SK' => true,
101
+ 'sk' => true, 'sl_SI' => true, 'sl' => true, 'so_DJ' => true, 'so_ET' => true,
102
+ 'so_KE' => true, 'so_SO' => true, 'so' => true, 'sq_AL' => true, 'sq' => true,
103
+ 'sr_BA' => true, 'sr_CS' => true, 'sr_ME' => true, 'sr_RS' => true, 'sr_YU' => true,
104
+ 'sr' => true, 'ss_SZ' => true, 'ss_ZA' => true, 'ss' => true, 'st_LS' => true,
105
+ 'st_ZA' => true, 'st' => true, 'sv_FI' => true, 'sv_SE' => true, 'sv' => true,
106
+ 'sw_KE' => true, 'sw_TZ' => true, 'sw' => true, 'syr_SY'=> true, 'syr' => true,
107
+ 'ta_IN' => true, 'ta' => true, 'te_IN' => true, 'te' => true, 'tg_TJ' => true,
108
+ 'tg' => true, 'th_TH' => true, 'th' => true, 'ti_ER' => true, 'ti_ET' => true,
109
+ 'ti' => true, 'tig_ER'=> true, 'tig' => true, 'tl' => true, 'tn_ZA' => true,
110
+ 'tn' => true, 'to_TO' => true, 'to' => true, 'tr_TR' => true, 'tr' => true,
111
+ 'trv_TW'=> true, 'trv' => true, 'ts_ZA' => true, 'ts' => true, 'tt_RU' => true,
112
+ 'tt' => true, 'ug_CN' => true, 'ug' => true, 'uk_UA' => true, 'uk' => true,
113
  'ur_IN' => true, 'ur_PK' => true, 'ur' => true, 'uz_AF' => true, 'uz_UZ' => true,
114
  'uz' => true, 've_ZA' => true, 've' => true, 'vi_VN' => true, 'vi' => true,
115
  'wal_ET'=> true, 'wal' => true, 'wo_SN' => true, 'wo' => true, 'xh_ZA' => true,
131
  *
132
  * @var boolean
133
  */
134
+ public static $compatibilityMode = false;
135
 
136
  /**
137
  * Internal variable
251
  }
252
 
253
  /**
254
+ * Sets a new default locale which will be used when no locale can be detected
255
  * If provided you can set a quality between 0 and 1 (or 2 and 100)
256
  * which represents the percent of quality the browser
257
  * requested within HTTP
279
  $quality /= 100;
280
  }
281
 
282
+ $locale = self::_prepareLocale($locale);
283
  if (isset(self::$_localeData[(string) $locale]) === true) {
284
  self::$_default = array((string) $locale => $quality);
285
  } else {
286
+ $elocale = explode('_', (string) $locale);
287
+ if (isset(self::$_localeData[$elocale[0]]) === true) {
288
+ self::$_default = array($elocale[0] => $quality);
289
  } else {
290
  #require_once 'Zend/Locale/Exception.php';
291
  throw new Zend_Locale_Exception("Unknown locale '" . (string) $locale . "' can not be set as default!");
445
  /**
446
  * Returns the language part of the locale
447
  *
448
+ * @return string
449
  */
450
  public function getLanguage()
451
  {
543
  *
544
  * @param string|Zend_Locale $locale (Optional) Locale for language translation
545
  * @return array
546
+ * @deprecated
547
  */
548
  public static function getLanguageTranslationList($locale = null)
549
  {
550
+ trigger_error("The method getLanguageTranslationList is deprecated. Use getTranslationList('language', $locale) instead", E_USER_NOTICE);
551
  return self::getTranslationList('language', $locale);
552
  }
553
 
556
  *
557
  * @param string|Zend_Locale $locale (Optional) Locale for script translation
558
  * @return array
559
+ * @deprecated
560
  */
561
  public static function getScriptTranslationList($locale = null)
562
  {
563
+ trigger_error("The method getScriptTranslationList is deprecated. Use getTranslationList('script', $locale) instead", E_USER_NOTICE);
564
  return self::getTranslationList('script', $locale);
565
  }
566
 
569
  *
570
  * @param string|Zend_Locale $locale (Optional) Locale for country translation
571
  * @return array
572
+ * @deprecated
573
  */
574
  public static function getCountryTranslationList($locale = null)
575
  {
576
+ trigger_error("The method getCountryTranslationList is deprecated. Use getTranslationList('territory', $locale, 2) instead", E_USER_NOTICE);
577
  return self::getTranslationList('territory', $locale, 2);
578
  }
579
 
583
  *
584
  * @param string|Zend_Locale $locale (Optional) Locale for territory translation
585
  * @return array
586
+ * @deprecated
587
  */
588
  public static function getTerritoryTranslationList($locale = null)
589
  {
590
+ trigger_error("The method getTerritoryTranslationList is deprecated. Use getTranslationList('territory', $locale, 1) instead", E_USER_NOTICE);
591
  return self::getTranslationList('territory', $locale, 1);
592
  }
593
 
618
  * @param string $value Name to get detailed information about
619
  * @param string $locale (Optional) Locale for language translation
620
  * @return array
621
+ * @deprecated
622
  */
623
  public static function getLanguageTranslation($value, $locale = null)
624
  {
625
+ trigger_error("The method getLanguageTranslation is deprecated. Use getTranslation($value, 'language', $locale) instead", E_USER_NOTICE);
626
  return self::getTranslation($value, 'language', $locale);
627
  }
628
 
632
  * @param string $value Name to get detailed information about
633
  * @param string $locale (Optional) locale for script translation
634
  * @return array
635
+ * @deprecated
636
  */
637
  public static function getScriptTranslation($value, $locale = null)
638
  {
639
+ trigger_error("The method getScriptTranslation is deprecated. Use getTranslation($value, 'script', $locale) instead", E_USER_NOTICE);
640
  return self::getTranslation($value, 'script', $locale);
641
  }
642
 
646
  * @param string $value Name to get detailed information about
647
  * @param string|Zend_Locale $locale (Optional) Locale for country translation
648
  * @return array
649
+ * @deprecated
650
  */
651
  public static function getCountryTranslation($value, $locale = null)
652
  {
653
+ trigger_error("The method getCountryTranslation is deprecated. Use getTranslation($value, 'country', $locale) instead", E_USER_NOTICE);
654
  return self::getTranslation($value, 'country', $locale);
655
  }
656
 
661
  * @param string $value Name to get detailed information about
662
  * @param string|Zend_Locale $locale (Optional) Locale for territory translation
663
  * @return array
664
+ * @deprecated
665
  */
666
  public static function getTerritoryTranslation($value, $locale = null)
667
  {
668
+ trigger_error("The method getTerritoryTranslation is deprecated. Use getTranslation($value, 'territory', $locale) instead", E_USER_NOTICE);
669
  return self::getTranslation($value, 'territory', $locale);
670
  }
671
 
749
  */
750
  public static function isLocale($locale, $strict = false, $compatible = true)
751
  {
752
+ if ($locale instanceof Zend_Locale) {
753
+ return true;
754
+ }
755
+
756
+ if (($locale !== null) and !is_string($locale) and !is_array($locale)) {
757
+ return false;
758
+ }
759
+
760
  try {
761
  $locale = self::_prepareLocale($locale, $strict);
762
  } catch (Zend_Locale_Exception $e) {
902
  Zend_Locale_Data::clearCache();
903
  }
904
 
905
+ /**
906
+ * Disables the set cache
907
+ *
908
+ * @param boolean $flag True disables any set cache, default is false
909
+ * @return void
910
+ */
911
+ public static function disableCache($flag)
912
+ {
913
+ #require_once 'Zend/Locale/Data.php';
914
+ Zend_Locale_Data::disableCache($flag);
915
+ }
916
+
917
  /**
918
  * Internal function, returns a single locale on detection
919
  *
971
  $locale = strtr($locale, '-', '_');
972
  }
973
 
974
+ $parts = explode('_', $locale);
975
+ if (!isset(self::$_localeData[$parts[0]])) {
976
+ return '';
977
+ }
978
+
979
+ foreach($parts as $key => $value) {
980
+ if ((strlen($value) < 2) || (strlen($value) > 3)) {
981
+ unset($parts[$key]);
982
+ }
983
+ }
984
+
985
+ $locale = implode('_', $parts);
986
  return (string) $locale;
987
  }
988
 
lib/Zend/Locale/Data.php CHANGED
@@ -15,9 +15,9 @@
15
  * @category Zend
16
  * @package Zend_Locale
17
  * @subpackage Data
18
- * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
19
  * @license http://framework.zend.com/license/new-bsd New BSD License
20
- * @version $Id: Data.php 12057 2008-10-21 17:19:43Z thomas $
21
  */
22
 
23
  /**
@@ -31,7 +31,7 @@
31
  * @category Zend
32
  * @package Zend_Locale
33
  * @subpackage Data
34
- * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
35
  * @license http://framework.zend.com/license/new-bsd New BSD License
36
  */
37
  class Zend_Locale_Data
@@ -60,6 +60,14 @@ class Zend_Locale_Data
60
  */
61
  private static $_cache = null;
62
 
 
 
 
 
 
 
 
 
63
  /**
64
  * Read the content from locale
65
  *
@@ -202,7 +210,6 @@ class Zend_Locale_Data
202
  return true;
203
  }
204
 
205
-
206
  /**
207
  * Read the right LDML file
208
  *
@@ -236,7 +243,6 @@ class Zend_Locale_Data
236
  return $temp;
237
  }
238
 
239
-
240
  /**
241
  * Find the details for supplemental calendar datas
242
  *
@@ -291,17 +297,25 @@ class Zend_Locale_Data
291
  public static function getList($locale, $path, $value = false)
292
  {
293
  $locale = self::_checkLocale($locale);
294
- if (isset(self::$_cache)) {
295
- $val = $value;
296
- if (is_array($value)) {
297
- $val = implode('_' , $value);
298
- }
299
 
300
- $val = urlencode($val);
301
- $id = strtr('Zend_LocaleL_' . $locale . '_' . $path . '_' . $val, array('-' => '_', '%' => '_', '+' => '_'));
302
- if ($result = self::$_cache->load($id)) {
303
- return unserialize($result);
304
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  }
306
 
307
  $temp = array();
@@ -505,7 +519,46 @@ class Zend_Locale_Data
505
  if (empty($value)) {
506
  $value = "gregorian";
507
  }
508
- $temp = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/availableFormats/dateFormatItem', 'id');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  break;
510
 
511
  case 'field':
@@ -744,6 +797,103 @@ class Zend_Locale_Data
744
  }
745
  break;
746
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
747
  default :
748
  #require_once 'Zend/Locale/Exception.php';
749
  throw new Zend_Locale_Exception("Unknown list ($path) for parsing locale data.");
@@ -770,16 +920,23 @@ class Zend_Locale_Data
770
  {
771
  $locale = self::_checkLocale($locale);
772
 
773
- if (isset(self::$_cache)) {
774
- $val = $value;
775
- if (is_array($value)) {
776
- $val = implode('_' , $value);
777
- }
778
- $val = urlencode($val);
779
- $id = strtr('Zend_LocaleC_' . $locale . '_' . $path . '_' . $val, array('-' => '_', '%' => '_', '+' => '_'));
780
- if ($result = self::$_cache->load($id)) {
781
- return unserialize($result);
782
- }
 
 
 
 
 
 
 
783
  }
784
 
785
  switch(strtolower($path)) {
@@ -804,10 +961,6 @@ class Zend_Locale_Data
804
  $temp = self::_getFile($locale, '/ldml/localeDisplayNames/keys/key[@type=\'' . $value . '\']', 'type');
805
  break;
806
 
807
- case 'datechars':
808
- $temp = self::_getFile($locale, '/ldml/dates/localizedPatternChars', '', 'chars');
809
- break;
810
-
811
  case 'defaultcalendar':
812
  $temp = self::_getFile($locale, '/ldml/dates/calendars/default', 'choice', 'default');
813
  break;
@@ -924,9 +1077,39 @@ class Zend_Locale_Data
924
 
925
  case 'datetime':
926
  if (empty($value)) {
927
- $value = "gregorian";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
928
  }
929
- $temp = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/dateTimeFormatLength/dateTimeFormat/pattern', '', 'pattern');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
930
  break;
931
 
932
  case 'field':
@@ -986,10 +1169,6 @@ class Zend_Locale_Data
986
  $temp = self::_getFile($locale, '/ldml/numbers/currencies/currency[@type=\'' . $value . '\']/symbol', '', $value);
987
  break;
988
 
989
- case 'currencysymbolchoice':
990
- $temp = self::_getFile($locale, '/ldml/numbers/currencies/currency[@type=\'' . $value . '\']/symbol/@choice', '', $value);
991
- break;
992
-
993
  case 'question':
994
  $temp = self::_getFile($locale, '/ldml/posix/messages/' . $value . 'str', '', $value);
995
  break;
@@ -1140,6 +1319,81 @@ class Zend_Locale_Data
1140
  }
1141
  break;
1142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1143
  default :
1144
  #require_once 'Zend/Locale/Exception.php';
1145
  throw new Zend_Locale_Exception("Unknown detail ($path) for parsing locale data.");
@@ -1209,4 +1463,14 @@ class Zend_Locale_Data
1209
  {
1210
  self::$_cache->clean();
1211
  }
 
 
 
 
 
 
 
 
 
 
1212
  }
15
  * @category Zend
16
  * @package Zend_Locale
17
  * @subpackage Data
18
+ * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
19
  * @license http://framework.zend.com/license/new-bsd New BSD License
20
+ * @version $Id: Data.php 16561 2009-07-08 15:05:06Z thomas $
21
  */
22
 
23
  /**
31
  * @category Zend
32
  * @package Zend_Locale
33
  * @subpackage Data
34
+ * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
35
  * @license http://framework.zend.com/license/new-bsd New BSD License
36
  */
37
  class Zend_Locale_Data
60
  */
61
  private static $_cache = null;
62
 
63
+ /**
64
+ * Internal option, cache disabled
65
+ *
66
+ * @var boolean
67
+ * @access private
68
+ */
69
+ private static $_cacheDisabled = false;
70
+
71
  /**
72
  * Read the content from locale
73
  *
210
  return true;
211
  }
212
 
 
213
  /**
214
  * Read the right LDML file
215
  *
243
  return $temp;
244
  }
245
 
 
246
  /**
247
  * Find the details for supplemental calendar datas
248
  *
297
  public static function getList($locale, $path, $value = false)
298
  {
299
  $locale = self::_checkLocale($locale);
 
 
 
 
 
300
 
301
+ if (!isset(self::$_cache) && !self::$_cacheDisabled) {
302
+ #require_once 'Zend/Cache.php';
303
+ self::$_cache = Zend_Cache::factory(
304
+ 'Core',
305
+ 'File',
306
+ array('automatic_serialization' => true),
307
+ array());
308
+ }
309
+
310
+ $val = $value;
311
+ if (is_array($value)) {
312
+ $val = implode('_' , $value);
313
+ }
314
+
315
+ $val = urlencode($val);
316
+ $id = strtr('Zend_LocaleL_' . $locale . '_' . $path . '_' . $val, array('-' => '_', '%' => '_', '+' => '_'));
317
+ if (!self::$_cacheDisabled && ($result = self::$_cache->load($id))) {
318
+ return unserialize($result);
319
  }
320
 
321
  $temp = array();
519
  if (empty($value)) {
520
  $value = "gregorian";
521
  }
522
+
523
+ $timefull = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/timeFormats/timeFormatLength[@type=\'full\']/timeFormat/pattern', '', 'full');
524
+ $timelong = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/timeFormats/timeFormatLength[@type=\'long\']/timeFormat/pattern', '', 'long');
525
+ $timemedi = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/timeFormats/timeFormatLength[@type=\'medium\']/timeFormat/pattern', '', 'medi');
526
+ $timeshor = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/timeFormats/timeFormatLength[@type=\'short\']/timeFormat/pattern', '', 'shor');
527
+
528
+ $datefull = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateFormats/dateFormatLength[@type=\'full\']/dateFormat/pattern', '', 'full');
529
+ $datelong = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateFormats/dateFormatLength[@type=\'long\']/dateFormat/pattern', '', 'long');
530
+ $datemedi = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateFormats/dateFormatLength[@type=\'medium\']/dateFormat/pattern', '', 'medi');
531
+ $dateshor = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateFormats/dateFormatLength[@type=\'short\']/dateFormat/pattern', '', 'shor');
532
+
533
+ $full = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/dateTimeFormatLength[@type=\'full\']/dateTimeFormat/pattern', '', 'full');
534
+ $long = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/dateTimeFormatLength[@type=\'long\']/dateTimeFormat/pattern', '', 'long');
535
+ $medi = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/dateTimeFormatLength[@type=\'medium\']/dateTimeFormat/pattern', '', 'medi');
536
+ $shor = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/dateTimeFormatLength[@type=\'short\']/dateTimeFormat/pattern', '', 'shor');
537
+
538
+ $temp['full'] = str_replace(array('{0}', '{1}'), array($timefull['full'], $datefull['full']), $full['full']);
539
+ $temp['long'] = str_replace(array('{0}', '{1}'), array($timelong['long'], $datelong['long']), $long['long']);
540
+ $temp['medium'] = str_replace(array('{0}', '{1}'), array($timemedi['medi'], $datemedi['medi']), $medi['medi']);
541
+ $temp['short'] = str_replace(array('{0}', '{1}'), array($timeshor['shor'], $dateshor['shor']), $shor['shor']);
542
+ break;
543
+
544
+ case 'dateitem':
545
+ if (empty($value)) {
546
+ $value = "gregorian";
547
+ }
548
+ $_temp = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/availableFormats/dateFormatItem', 'id');
549
+ foreach($_temp as $key => $found) {
550
+ $temp += self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/availableFormats/dateFormatItem[@id=\'' . $key . '\']', '', $key);
551
+ }
552
+ break;
553
+
554
+ case 'dateinterval':
555
+ if (empty($value)) {
556
+ $value = "gregorian";
557
+ }
558
+ $_temp = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/intervalFormats/intervalFormatItem', 'id');
559
+ foreach($_temp as $key => $found) {
560
+ $temp[$key] = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value . '\']/dateTimeFormats/intervalFormats/intervalFormatItem[@id=\'' . $key . '\']/greatestDifference', 'id');
561
+ }
562
  break;
563
 
564
  case 'field':
797
  }
798
  break;
799
 
800
+ case 'phonetoterritory':
801
+ $_temp = self::_getFile('telephoneCodeData', '/supplementalData/telephoneCodeData/codesByTerritory', 'territory');
802
+ foreach ($_temp as $key => $keyvalue) {
803
+ $temp += self::_getFile('telephoneCodeData', '/supplementalData/telephoneCodeData/codesByTerritory[@territory=\'' . $key . '\']/telephoneCountryCode', 'code', $key);
804
+ }
805
+ break;
806
+
807
+ case 'territorytophone':
808
+ $_temp = self::_getFile('telephoneCodeData', '/supplementalData/telephoneCodeData/codesByTerritory', 'territory');
809
+ foreach ($_temp as $key => $keyvalue) {
810
+ $val = self::_getFile('telephoneCodeData', '/supplementalData/telephoneCodeData/codesByTerritory[@territory=\'' . $key . '\']/telephoneCountryCode', 'code', $key);
811
+ if (!isset($val[$key])) {
812
+ continue;
813
+ }
814
+ if (!isset($temp[$val[$key]])) {
815
+ $temp[$val[$key]] = $key;
816
+ } else {
817
+ $temp[$val[$key]] .= " " . $key;
818
+ }
819
+ }
820
+ break;
821
+
822
+ case 'numerictoterritory':
823
+ $_temp = self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes', 'type');
824
+ foreach ($_temp as $key => $keyvalue) {
825
+ $temp += self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes[@type=\'' . $key . '\']', 'numeric', $key);
826
+ }
827
+ break;
828
+
829
+ case 'territorytonumeric':
830
+ $_temp = self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes', 'numeric');
831
+ foreach ($_temp as $key => $keyvalue) {
832
+ $temp += self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes[@numeric=\'' . $key . '\']', 'type', $key);
833
+ }
834
+ break;
835
+
836
+ case 'alpha3toterritory':
837
+ $_temp = self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes', 'type');
838
+ foreach ($_temp as $key => $keyvalue) {
839
+ $temp += self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes[@type=\'' . $key . '\']', 'alpha3', $key);
840
+ }
841
+ break;
842
+
843
+ case 'territorytoalpha3':
844
+ $_temp = self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes', 'alpha3');
845
+ foreach ($_temp as $key => $keyvalue) {
846
+ $temp += self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes[@alpha3=\'' . $key . '\']', 'type', $key);
847
+ }
848
+ break;
849
+
850
+ case 'postaltoterritory':
851
+ $_temp = self::_getFile('postalCodeData', '/supplementalData/postalCodeData/postCodeRegex', 'territoryId');
852
+ foreach ($_temp as $key => $keyvalue) {
853
+ $temp += self::_getFile('postalCodeData', '/supplementalData/postalCodeData/postCodeRegex[@territoryId=\'' . $key . '\']', 'territoryId');
854
+ }
855
+ break;
856
+
857
+ case 'numberingsystem':
858
+ $_temp = self::_getFile('numberingSystems', '/supplementalData/numberingSystems/numberingSystem', 'id');
859
+ foreach ($_temp as $key => $keyvalue) {
860
+ $temp += self::_getFile('numberingSystems', '/supplementalData/numberingSystems/numberingSystem[@id=\'' . $key . '\']', 'digits', $key);
861
+ if (empty($temp[$key])) {
862
+ unset($temp[$key]);
863
+ }
864
+ }
865
+ break;
866
+
867
+ case 'chartofallback':
868
+ $_temp = self::_getFile('characters', '/supplementalData/characters/character-fallback/character', 'value');
869
+ foreach ($_temp as $key => $keyvalue) {
870
+ $temp2 = self::_getFile('characters', '/supplementalData/characters/character-fallback/character[@value=\'' . $key . '\']/substitute', '', $key);
871
+ $temp[current($temp2)] = $key;
872
+ }
873
+ break;
874
+
875
+ case 'fallbacktochar':
876
+ $_temp = self::_getFile('characters', '/supplementalData/characters/character-fallback/character', 'value');
877
+ foreach ($_temp as $key => $keyvalue) {
878
+ $temp += self::_getFile('characters', '/supplementalData/characters/character-fallback/character[@value=\'' . $key . '\']/substitute', '', $key);
879
+ }
880
+ break;
881
+
882
+ case 'localeupgrade':
883
+ $_temp = self::_getFile('likelySubtags', '/supplementalData/likelySubtags/likelySubtag', 'from');
884
+ foreach ($_temp as $key => $keyvalue) {
885
+ $temp += self::_getFile('likelySubtags', '/supplementalData/likelySubtags/likelySubtag[@from=\'' . $key . '\']', 'to', $key);
886
+ }
887
+ break;
888
+
889
+ case 'unit':
890
+ $_temp = self::_getFile($locale, '/ldml/units/unit', 'type');
891
+ foreach($_temp as $key => $keyvalue) {
892
+ $_temp2 = self::_getFile($locale, '/ldml/units/unit[@type=\'' . $key . '\']/unitPattern', 'count');
893
+ $temp[$key] = $_temp2;
894
+ }
895
+ break;
896
+
897
  default :
898
  #require_once 'Zend/Locale/Exception.php';
899
  throw new Zend_Locale_Exception("Unknown list ($path) for parsing locale data.");
920
  {
921
  $locale = self::_checkLocale($locale);
922
 
923
+ if (!isset(self::$_cache) && !self::$_cacheDisabled) {
924
+ #require_once 'Zend/Cache.php';
925
+ self::$_cache = Zend_Cache::factory(
926
+ 'Core',
927
+ 'File',
928
+ array('automatic_serialization' => true),
929
+ array());
930
+ }
931
+
932
+ $val = $value;
933
+ if (is_array($value)) {
934
+ $val = implode('_' , $value);
935
+ }
936
+ $val = urlencode($val);
937
+ $id = strtr('Zend_LocaleC_' . $locale . '_' . $path . '_' . $val, array('-' => '_', '%' => '_', '+' => '_'));
938
+ if (!self::$_cacheDisabled && ($result = self::$_cache->load($id))) {
939
+ return unserialize($result);
940
  }
941
 
942
  switch(strtolower($path)) {
961
  $temp = self::_getFile($locale, '/ldml/localeDisplayNames/keys/key[@type=\'' . $value . '\']', 'type');
962
  break;
963
 
 
 
 
 
964
  case 'defaultcalendar':
965
  $temp = self::_getFile($locale, '/ldml/dates/calendars/default', 'choice', 'default');
966
  break;
1077
 
1078
  case 'datetime':
1079
  if (empty($value)) {
1080
+ $value = array("gregorian", "medium");
1081
+ }
1082
+ if (!is_array($value)) {
1083
+ $temp = $value;
1084
+ $value = array("gregorian", $temp);
1085
+ }
1086
+
1087
+ $date = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value[0] . '\']/dateFormats/dateFormatLength[@type=\'' . $value[1] . '\']/dateFormat/pattern', '', 'pattern');
1088
+ $time = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value[0] . '\']/timeFormats/timeFormatLength[@type=\'' . $value[1] . '\']/timeFormat/pattern', '', 'pattern');
1089
+ $datetime = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value[0] . '\']/dateTimeFormats/dateTimeFormatLength[@type=\'' . $value[1] . '\']/dateTimeFormat/pattern', '', 'pattern');
1090
+ $temp = str_replace(array('{0}', '{1}'), array(current($time), current($date)), current($datetime));
1091
+ break;
1092
+
1093
+ case 'dateitem':
1094
+ if (empty($value)) {
1095
+ $value = array("gregorian", "yyMMdd");
1096
  }
1097
+ if (!is_array($value)) {
1098
+ $temp = $value;
1099
+ $value = array("gregorian", $temp);
1100
+ }
1101
+ $temp = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value[0] . '\']/dateTimeFormats/availableFormats/dateFormatItem[@id=\'' . $value[1] . '\']', '');
1102
+ break;
1103
+
1104
+ case 'dateinterval':
1105
+ if (empty($value)) {
1106
+ $value = array("gregorian", "yMd", "y");
1107
+ }
1108
+ if (!is_array($value)) {
1109
+ $temp = $value;
1110
+ $value = array("gregorian", $temp, $temp[0]);
1111
+ }
1112
+ $temp = self::_getFile($locale, '/ldml/dates/calendars/calendar[@type=\'' . $value[0] . '\']/dateTimeFormats/intervalFormats/intervalFormatItem[@id=\'' . $value[1] . '\']/greatestDifference[@id=\'' . $value[2] . '\']', '');
1113
  break;
1114
 
1115
  case 'field':
1169
  $temp = self::_getFile($locale, '/ldml/numbers/currencies/currency[@type=\'' . $value . '\']/symbol', '', $value);
1170
  break;
1171
 
 
 
 
 
1172
  case 'question':
1173
  $temp = self::_getFile($locale, '/ldml/posix/messages/' . $value . 'str', '', $value);
1174
  break;
1319
  }
1320
  break;
1321
 
1322
+ case 'phonetoterritory':
1323
+ $temp = self::_getFile('telephoneCodeData', '/supplementalData/telephoneCodeData/codesByTerritory[@territory=\'' . $value . '\']/telephoneCountryCode', 'code', $value);
1324
+ break;
1325
+
1326
+ case 'territorytophone':
1327
+ $_temp2 = self::_getFile('telephoneCodeData', '/supplementalData/telephoneCodeData/codesByTerritory', 'territory');
1328
+ $_temp = array();
1329
+ foreach ($_temp2 as $key => $found) {
1330
+ $_temp += self::_getFile('telephoneCodeData', '/supplementalData/telephoneCodeData/codesByTerritory[@territory=\'' . $key . '\']/telephoneCountryCode', 'code', $key);
1331
+ }
1332
+ $temp = array();
1333
+ foreach($_temp as $key => $found) {
1334
+ $_temp3 = explode(" ", $found);
1335
+ foreach($_temp3 as $found3) {
1336
+ if ($found3 !== $value) {
1337
+ continue;
1338
+ }
1339
+ if (!isset($temp[$found3])) {
1340
+ $temp[$found3] = (string) $key;
1341
+ } else {
1342
+ $temp[$found3] .= " " . $key;
1343
+ }
1344
+ }
1345
+ }
1346
+ break;
1347
+
1348
+ case 'numerictoterritory':
1349
+ $temp = self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes[@type=\''.$value.'\']', 'numeric', $value);
1350
+ break;
1351
+
1352
+ case 'territorytonumeric':
1353
+ $temp = self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes[@numeric=\''.$value.'\']', 'type', $value);
1354
+ break;
1355
+
1356
+ case 'alpha3toterritory':
1357
+ $temp = self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes[@type=\''.$value.'\']', 'alpha3', $value);
1358
+ break;
1359
+
1360
+ case 'territorytoalpha3':
1361
+ $temp = self::_getFile('supplementalData', '/supplementalData/codeMappings/territoryCodes[@alpha3=\''.$value.'\']', 'type', $value);
1362
+ break;
1363
+
1364
+ case 'postaltoterritory':
1365
+ $temp = self::_getFile('postalCodeData', '/supplementalData/postalCodeData/postCodeRegex[@territoryId=\'' . $value . '\']', 'territoryId');
1366
+ break;
1367
+
1368
+ case 'numberingsystem':
1369
+ $temp = self::_getFile('numberingSystems', '/supplementalData/numberingSystems/numberingSystem[@id=\'' . strtolower($value) . '\']', 'digits', $value);
1370
+ break;
1371
+
1372
+ case 'chartofallback':
1373
+ $_temp = self::_getFile('characters', '/supplementalData/characters/character-fallback/character', 'value');
1374
+ foreach ($_temp as $key => $keyvalue) {
1375
+ $temp2 = self::_getFile('characters', '/supplementalData/characters/character-fallback/character[@value=\'' . $key . '\']/substitute', '', $key);
1376
+ if (current($temp2) == $value) {
1377
+ $temp = $key;
1378
+ }
1379
+ }
1380
+ break;
1381
+
1382
+ $temp = self::_getFile('characters', '/supplementalData/characters/character-fallback/character[@value=\'' . $value . '\']/substitute', '', $value);
1383
+ break;
1384
+
1385
+ case 'fallbacktochar':
1386
+ $temp = self::_getFile('characters', '/supplementalData/characters/character-fallback/character[@value=\'' . $value . '\']/substitute', '');
1387
+ break;
1388
+
1389
+ case 'localeupgrade':
1390
+ $temp = self::_getFile('likelySubtags', '/supplementalData/likelySubtags/likelySubtag[@from=\'' . $value . '\']', 'to', $value);
1391
+ break;
1392
+
1393
+ case 'unit':
1394
+ $temp = self::_getFile($locale, '/ldml/units/unit[@type=\'' . $value[0] . '\']/unitPattern[@count=\'' . $value[1] . '\']', '');
1395
+ break;
1396
+
1397
  default :
1398
  #require_once 'Zend/Locale/Exception.php';
1399
  throw new Zend_Locale_Exception("Unknown detail ($path) for parsing locale data.");
1463
  {
1464
  self::$_cache->clean();
1465
  }
1466
+
1467
+ /**
1468
+ * Disables the cache
1469
+ *
1470
+ * @param unknown_type $flag
1471
+ */
1472
+ public static function disableCache($flag)
1473
+ {
1474
+ self::$_cacheDisabled = (boolean) $flag;
1475
+ }
1476
  }
lib/Zend/Locale/Data/Translation.php CHANGED
@@ -14,9 +14,9 @@
14
  *
15
  * @category Zend
16
  * @package Zend_Locale
17
- * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
18
  * @license http://framework.zend.com/license/new-bsd New BSD License
19
- * @version $Id: Locale.php 5357 2007-06-16 19:56:21Z thomas $
20
  */
21
 
22
  /**
@@ -24,7 +24,7 @@
24
  *
25
  * @category Zend
26
  * @package Zend_Locale
27
- * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
28
  * @license http://framework.zend.com/license/new-bsd New BSD License
29
  */
30
  class Zend_Locale_Data_Translation
14
  *
15
  * @category Zend
16
  * @package Zend_Locale
17
+ * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
18
  * @license http://framework.zend.com/license/new-bsd New BSD License
19
+ * @version $Id: Translation.php 16971 2009-07-22 18:05:45Z mikaelkael $
20
  */
21
 
22
  /**
24
  *
25
  * @category Zend
26
  * @package Zend_Locale
27
+ * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
28
  * @license http://framework.zend.com/license/new-bsd New BSD License
29
  */
30
  class Zend_Locale_Data_Translation
lib/Zend/Locale/Data/aa.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.44 $"/>
6
- <generation date="$Date: 2008/05/28 15:49:27 $"/>
7
  <language type="aa"/>
8
  </identity>
9
  <localeDisplayNames>
@@ -154,17 +154,17 @@
154
  <dateFormats>
155
  <dateFormatLength type="full">
156
  <dateFormat>
157
- <pattern>EEEE, MMMM dd, yyyy</pattern>
158
  </dateFormat>
159
  </dateFormatLength>
160
  <dateFormatLength type="long">
161
  <dateFormat>
162
- <pattern>dd MMMM yyyy</pattern>
163
  </dateFormat>
164
  </dateFormatLength>
165
  <dateFormatLength type="medium">
166
  <dateFormat>
167
- <pattern>dd-MMM-yyyy</pattern>
168
  </dateFormat>
169
  </dateFormatLength>
170
  <dateFormatLength type="short">
@@ -176,7 +176,7 @@
176
  <timeFormats>
177
  <timeFormatLength type="full">
178
  <timeFormat>
179
- <pattern>h:mm:ss a v</pattern>
180
  </timeFormat>
181
  </timeFormatLength>
182
  <timeFormatLength type="long">
@@ -196,11 +196,6 @@
196
  </timeFormatLength>
197
  </timeFormats>
198
  <dateTimeFormats>
199
- <dateTimeFormatLength>
200
- <dateTimeFormat>
201
- <pattern>{1} {0}</pattern>
202
- </dateTimeFormat>
203
- </dateTimeFormatLength>
204
  <availableFormats>
205
  <dateFormatItem id="yyQ">Q yy</dateFormatItem>
206
  </availableFormats>
@@ -221,40 +216,6 @@
221
  </currencyFormat>
222
  </currencyFormatLength>
223
  </currencyFormats>
224
- <currencies>
225
- <currency type="BRL">
226
- <displayName>Brazilian Real</displayName>
227
- </currency>
228
- <currency type="CNY">
229
- <displayName>Chinese Yuan Renminbi</displayName>
230
- </currency>
231
- <currency type="DJF">
232
- <symbol>FD</symbol>
233
- </currency>
234
- <currency type="ERN">
235
- <symbol>Nfk</symbol>
236
- </currency>
237
- <currency type="ETB">
238
- <symbol>Br</symbol>
239
- </currency>
240
- <currency type="EUR">
241
- <displayName>Euro</displayName>
242
- </currency>
243
- <currency type="GBP">
244
- <displayName>British Pound Sterling</displayName>
245
- </currency>
246
- <currency type="INR">
247
- <displayName>Indian Rupee</displayName>
248
- </currency>
249
- <currency type="JPY">
250
- <displayName>Japanese Yen</displayName>
251
- </currency>
252
- <currency type="RUB">
253
- <displayName>Russian Ruble</displayName>
254
- </currency>
255
- <currency type="USD">
256
- <displayName>US Dollar</displayName>
257
- </currency>
258
- </currencies>
259
  </numbers>
260
  </ldml>
 
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.53 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:33 $"/>
7
  <language type="aa"/>
8
  </identity>
9
  <localeDisplayNames>
154
  <dateFormats>
155
  <dateFormatLength type="full">
156
  <dateFormat>
157
+ <pattern>EEEE, MMMM dd, y</pattern>
158
  </dateFormat>
159
  </dateFormatLength>
160
  <dateFormatLength type="long">
161
  <dateFormat>
162
+ <pattern>dd MMMM y</pattern>
163
  </dateFormat>
164
  </dateFormatLength>
165
  <dateFormatLength type="medium">
166
  <dateFormat>
167
+ <pattern>dd-MMM-y</pattern>
168
  </dateFormat>
169
  </dateFormatLength>
170
  <dateFormatLength type="short">
176
  <timeFormats>
177
  <timeFormatLength type="full">
178
  <timeFormat>
179
+ <pattern>h:mm:ss a zzzz</pattern>
180
  </timeFormat>
181
  </timeFormatLength>
182
  <timeFormatLength type="long">
196
  </timeFormatLength>
197
  </timeFormats>
198
  <dateTimeFormats>
 
 
 
 
 
199
  <availableFormats>
200
  <dateFormatItem id="yyQ">Q yy</dateFormatItem>
201
  </availableFormats>
216
  </currencyFormat>
217
  </currencyFormatLength>
218
  </currencyFormats>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  </numbers>
220
  </ldml>
221
+
lib/Zend/Locale/Data/aa_DJ.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.38 $"/>
6
- <generation date="$Date: 2008/05/28 15:49:27 $"/>
7
  <language type="aa"/>
8
  <territory type="DJ"/>
9
  </identity>
@@ -22,14 +22,5 @@
22
  </calendar>
23
  </calendars>
24
  </dates>
25
- <numbers>
26
- <currencies>
27
- <currency type="ERN">
28
- <symbol>$</symbol>
29
- </currency>
30
- <currency type="ETB">
31
- <symbol>ETB</symbol>
32
- </currency>
33
- </currencies>
34
- </numbers>
35
  </ldml>
 
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.41 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:33 $"/>
7
  <language type="aa"/>
8
  <territory type="DJ"/>
9
  </identity>
22
  </calendar>
23
  </calendars>
24
  </dates>
 
 
 
 
 
 
 
 
 
 
25
  </ldml>
26
+
lib/Zend/Locale/Data/aa_ER.xml CHANGED
@@ -1,20 +1,11 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.37 $"/>
6
- <generation date="$Date: 2008/05/28 15:49:27 $"/>
7
  <language type="aa"/>
8
  <territory type="ER"/>
9
  </identity>
10
- <numbers>
11
- <currencies>
12
- <currency type="ERN">
13
- <symbol>$</symbol>
14
- </currency>
15
- <currency type="ETB">
16
- <symbol>ETB</symbol>
17
- </currency>
18
- </currencies>
19
- </numbers>
20
  </ldml>
 
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.40 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:33 $"/>
7
  <language type="aa"/>
8
  <territory type="ER"/>
9
  </identity>
 
 
 
 
 
 
 
 
 
 
10
  </ldml>
11
+
lib/Zend/Locale/Data/aa_ER_SAAHO.xml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
+ <ldml>
4
+ <identity>
5
+ <version number="$Revision: 1.36 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:33 $"/>
7
+ <language type="aa"/>
8
+ <territory type="ER"/>
9
+ <variant type="SAAHO"/>
10
+ </identity>
11
+ <dates>
12
+ <calendars>
13
+ <calendar type="gregorian">
14
+ <days>
15
+ <dayContext type="format">
16
+ <dayWidth type="abbreviated">
17
+ <day type="sun">Nab</day>
18
+ <day type="mon">San</day>
19
+ <day type="tue">Sal</day>
20
+ <day type="wed">Rab</day>
21
+ <day type="thu">Cam</day>
22
+ <day type="fri">Jum</day>
23
+ <day type="sat">Qun</day>
24
+ </dayWidth>
25
+ <dayWidth type="wide">
26
+ <day type="sun">Naba Sambat</day>
27
+ <day type="mon">Sani</day>
28
+ <day type="tue">Salus</day>
29
+ <day type="wed">Rabuq</day>
30
+ <day type="thu">Camus</day>
31
+ <day type="fri">Jumqata</day>
32
+ <day type="sat">Qunxa Sambat</day>
33
+ </dayWidth>
34
+ </dayContext>
35
+ </days>
36
+ </calendar>
37
+ </calendars>
38
+ </dates>
39
+ </ldml>
lib/Zend/Locale/Data/aa_ET.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.38 $"/>
6
- <generation date="$Date: 2008/05/28 15:49:27 $"/>
7
  <language type="aa"/>
8
  <territory type="ET"/>
9
  </identity>
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.40 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:33 $"/>
7
  <language type="aa"/>
8
  <territory type="ET"/>
9
  </identity>
lib/Zend/Locale/Data/af.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.65 $"/>
6
- <generation date="$Date: 2008/06/17 14:12:13 $"/>
7
  <language type="af"/>
8
  </identity>
9
  <localeDisplayNames>
@@ -427,7 +427,7 @@
427
  </codePatterns>
428
  </localeDisplayNames>
429
  <characters>
430
- <exemplarCharacters>[a á â b-e é è ê ë f-i î ï j-o ô ö p-u û v-z ʼn]</exemplarCharacters>
431
  <exemplarCharacters type="auxiliary">[à å-ç ñ ø œ ß]</exemplarCharacters>
432
  <exemplarCharacters type="currencySymbol">[a-z]</exemplarCharacters>
433
  </characters>
@@ -552,17 +552,17 @@
552
  <dateFormats>
553
  <dateFormatLength type="full">
554
  <dateFormat>
555
- <pattern>EEEE dd MMMM yyyy</pattern>
556
  </dateFormat>
557
  </dateFormatLength>
558
  <dateFormatLength type="long">
559
  <dateFormat>
560
- <pattern>dd MMMM yyyy</pattern>
561
  </dateFormat>
562
  </dateFormatLength>
563
  <dateFormatLength type="medium">
564
  <dateFormat>
565
- <pattern>dd MMM yyyy</pattern>
566
  </dateFormat>
567
  </dateFormatLength>
568
  <dateFormatLength type="short">
@@ -574,7 +574,7 @@
574
  <timeFormats>
575
  <timeFormatLength type="full">
576
  <timeFormat>
577
- <pattern>h:mm:ss a v</pattern>
578
  </timeFormat>
579
  </timeFormatLength>
580
  <timeFormatLength type="long">
@@ -594,18 +594,13 @@
594
  </timeFormatLength>
595
  </timeFormats>
596
  <dateTimeFormats>
597
- <dateTimeFormatLength>
598
- <dateTimeFormat>
599
- <pattern>{1} {0}</pattern>
600
- </dateTimeFormat>
601
- </dateTimeFormatLength>
602
  <availableFormats>
603
  <dateFormatItem id="MMMMd">d MMMM</dateFormatItem>
604
  <dateFormatItem id="MMMMdd">dd MMMM</dateFormatItem>
605
  <dateFormatItem id="MMdd">MM/dd</dateFormatItem>
606
  <dateFormatItem id="yyQ">Q yy</dateFormatItem>
607
  <dateFormatItem id="yyyyMM">yyyy/MM</dateFormatItem>
608
- <dateFormatItem id="yyyyMMMM">MMMM yyyy</dateFormatItem>
609
  </availableFormats>
610
  <intervalFormats>
611
  <intervalFormatFallback>{0} - {1}</intervalFormatFallback>
@@ -661,18 +656,18 @@
661
  <greatestDifference id="y">E, yyyy-MM-dd - E, yyyy-MM-dd</greatestDifference>
662
  </intervalFormatItem>
663
  <intervalFormatItem id="yMMM">
664
- <greatestDifference id="M">yyyy MMM-MMM</greatestDifference>
665
- <greatestDifference id="y">yyyy MMM - yyyy MMM</greatestDifference>
666
  </intervalFormatItem>
667
  <intervalFormatItem id="yMMMEd">
668
- <greatestDifference id="M">E, yyyy MMM dd - E, yyyy MMM dd</greatestDifference>
669
- <greatestDifference id="d">E, yyyy MMM dd - E, yyyy MMM dd</greatestDifference>
670
- <greatestDifference id="y">E, yyyy MMM dd - E, yyyy MMM dd</greatestDifference>
671
  </intervalFormatItem>
672
  <intervalFormatItem id="yMMMd">
673
- <greatestDifference id="M">yyyy MMM d - MMM d</greatestDifference>
674
- <greatestDifference id="d">yyyy MMM d-d</greatestDifference>
675
- <greatestDifference id="y">yyyy MMM d - yyyy MMM d</greatestDifference>
676
  </intervalFormatItem>
677
  <intervalFormatItem id="yMd">
678
  <greatestDifference id="M">yyyy-MM-dd - yyyy-MM-dd</greatestDifference>
@@ -814,7 +809,6 @@
814
  </currency>
815
  <currency type="ZAR">
816
  <displayName>Rand</displayName>
817
- <symbol>R</symbol>
818
  </currency>
819
  </currencies>
820
  </numbers>
@@ -825,3 +819,4 @@
825
  </messages>
826
  </posix>
827
  </ldml>
 
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.77 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:33 $"/>
7
  <language type="af"/>
8
  </identity>
9
  <localeDisplayNames>
427
  </codePatterns>
428
  </localeDisplayNames>
429
  <characters>
430
+ <exemplarCharacters>[a á â b-e é è ê ë f-i î ï j-o ô ö p-u û v-z]</exemplarCharacters>
431
  <exemplarCharacters type="auxiliary">[à å-ç ñ ø œ ß]</exemplarCharacters>
432
  <exemplarCharacters type="currencySymbol">[a-z]</exemplarCharacters>
433
  </characters>
552
  <dateFormats>
553
  <dateFormatLength type="full">
554
  <dateFormat>
555
+ <pattern>EEEE dd MMMM y</pattern>
556
  </dateFormat>
557
  </dateFormatLength>
558
  <dateFormatLength type="long">
559
  <dateFormat>
560
+ <pattern>dd MMMM y</pattern>
561
  </dateFormat>
562
  </dateFormatLength>
563
  <dateFormatLength type="medium">
564
  <dateFormat>
565
+ <pattern>dd MMM y</pattern>
566
  </dateFormat>
567
  </dateFormatLength>
568
  <dateFormatLength type="short">
574
  <timeFormats>
575
  <timeFormatLength type="full">
576
  <timeFormat>
577
+ <pattern>h:mm:ss a zzzz</pattern>
578
  </timeFormat>
579
  </timeFormatLength>
580
  <timeFormatLength type="long">
594
  </timeFormatLength>
595
  </timeFormats>
596
  <dateTimeFormats>
 
 
 
 
 
597
  <availableFormats>
598
  <dateFormatItem id="MMMMd">d MMMM</dateFormatItem>
599
  <dateFormatItem id="MMMMdd">dd MMMM</dateFormatItem>
600
  <dateFormatItem id="MMdd">MM/dd</dateFormatItem>
601
  <dateFormatItem id="yyQ">Q yy</dateFormatItem>
602
  <dateFormatItem id="yyyyMM">yyyy/MM</dateFormatItem>
603
+ <dateFormatItem id="yyyyMMMM">MMMM y</dateFormatItem>
604
  </availableFormats>
605
  <intervalFormats>
606
  <intervalFormatFallback>{0} - {1}</intervalFormatFallback>
656
  <greatestDifference id="y">E, yyyy-MM-dd - E, yyyy-MM-dd</greatestDifference>
657
  </intervalFormatItem>
658
  <intervalFormatItem id="yMMM">
659
+ <greatestDifference id="M">y MMM-MMM</greatestDifference>
660
+ <greatestDifference id="y">y MMM - y MMM</greatestDifference>
661
  </intervalFormatItem>
662
  <intervalFormatItem id="yMMMEd">
663
+ <greatestDifference id="M">E, y MMM dd - E, y MMM dd</greatestDifference>
664
+ <greatestDifference id="d">E, y MMM dd - E, y MMM dd</greatestDifference>
665
+ <greatestDifference id="y">E, y MMM dd - E, y MMM dd</greatestDifference>
666
  </intervalFormatItem>
667
  <intervalFormatItem id="yMMMd">
668
+ <greatestDifference id="M">y MMM d - MMM d</greatestDifference>
669
+ <greatestDifference id="d">y MMM d-d</greatestDifference>
670
+ <greatestDifference id="y">y MMM d - y MMM d</greatestDifference>
671
  </intervalFormatItem>
672
  <intervalFormatItem id="yMd">
673
  <greatestDifference id="M">yyyy-MM-dd - yyyy-MM-dd</greatestDifference>
809
  </currency>
810
  <currency type="ZAR">
811
  <displayName>Rand</displayName>
 
812
  </currency>
813
  </currencies>
814
  </numbers>
819
  </messages>
820
  </posix>
821
  </ldml>
822
+
lib/Zend/Locale/Data/af_NA.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.19 $"/>
6
- <generation date="$Date: 2008/06/15 08:09:45 $"/>
7
  <language type="af"/>
8
  <territory type="NA"/>
9
  </identity>
@@ -13,17 +13,17 @@
13
  <dateFormats>
14
  <dateFormatLength type="full">
15
  <dateFormat>
16
- <pattern>EEEE d MMMM yyyy</pattern>
17
  </dateFormat>
18
  </dateFormatLength>
19
  <dateFormatLength type="long">
20
  <dateFormat>
21
- <pattern>d MMMM yyyy</pattern>
22
  </dateFormat>
23
  </dateFormatLength>
24
  <dateFormatLength type="medium">
25
  <dateFormat>
26
- <pattern>d MMM yyyy</pattern>
27
  </dateFormat>
28
  </dateFormatLength>
29
  <dateFormatLength type="short">
@@ -35,7 +35,7 @@
35
  <timeFormats>
36
  <timeFormatLength type="full">
37
  <timeFormat>
38
- <pattern>HH:mm:ss v</pattern>
39
  </timeFormat>
40
  </timeFormatLength>
41
  <timeFormatLength type="long">
@@ -73,4 +73,3 @@
73
  </currencyFormats>
74
  </numbers>
75
  </ldml>
76
-
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.23 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:33 $"/>
7
  <language type="af"/>
8
  <territory type="NA"/>
9
  </identity>
13
  <dateFormats>
14
  <dateFormatLength type="full">
15
  <dateFormat>
16
+ <pattern>EEEE d MMMM y</pattern>
17
  </dateFormat>
18
  </dateFormatLength>
19
  <dateFormatLength type="long">
20
  <dateFormat>
21
+ <pattern>d MMMM y</pattern>
22
  </dateFormat>
23
  </dateFormatLength>
24
  <dateFormatLength type="medium">
25
  <dateFormat>
26
+ <pattern>d MMM y</pattern>
27
  </dateFormat>
28
  </dateFormatLength>
29
  <dateFormatLength type="short">
35
  <timeFormats>
36
  <timeFormatLength type="full">
37
  <timeFormat>
38
+ <pattern>HH:mm:ss zzzz</pattern>
39
  </timeFormat>
40
  </timeFormatLength>
41
  <timeFormatLength type="long">
73
  </currencyFormats>
74
  </numbers>
75
  </ldml>
 
lib/Zend/Locale/Data/af_ZA.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.48 $"/>
6
- <generation date="$Date: 2008/05/28 15:49:27 $"/>
7
  <language type="af"/>
8
  <territory type="ZA"/>
9
  </identity>
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.50 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:33 $"/>
7
  <language type="af"/>
8
  <territory type="ZA"/>
9
  </identity>
lib/Zend/Locale/Data/ak.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.28 $"/>
6
- <generation date="$Date: 2008/05/28 15:49:27 $"/>
7
  <language type="ak"/>
8
  </identity>
9
  <characters>
@@ -125,17 +125,17 @@
125
  <dateFormats>
126
  <dateFormatLength type="full">
127
  <dateFormat>
128
- <pattern>EEEE, yyyy MMMM dd</pattern>
129
  </dateFormat>
130
  </dateFormatLength>
131
  <dateFormatLength type="long">
132
  <dateFormat>
133
- <pattern>yyyy MMMM d</pattern>
134
  </dateFormat>
135
  </dateFormatLength>
136
  <dateFormatLength type="medium">
137
  <dateFormat>
138
- <pattern>yyyy MMM d</pattern>
139
  </dateFormat>
140
  </dateFormatLength>
141
  <dateFormatLength type="short">
@@ -147,7 +147,7 @@
147
  <timeFormats>
148
  <timeFormatLength type="full">
149
  <timeFormat>
150
- <pattern>HH:mm:ss v</pattern>
151
  </timeFormat>
152
  </timeFormatLength>
153
  <timeFormatLength type="long">
@@ -167,11 +167,6 @@
167
  </timeFormatLength>
168
  </timeFormats>
169
  <dateTimeFormats>
170
- <dateTimeFormatLength>
171
- <dateTimeFormat>
172
- <pattern>{1} {0}</pattern>
173
- </dateTimeFormat>
174
- </dateTimeFormatLength>
175
  <availableFormats>
176
  <dateFormatItem id="yyQ">Q yy</dateFormatItem>
177
  </availableFormats>
@@ -188,8 +183,8 @@
188
  <currencies>
189
  <currency type="GHC">
190
  <displayName>Sidi</displayName>
191
- <symbol>GH¢</symbol>
192
  </currency>
193
  </currencies>
194
  </numbers>
195
  </ldml>
 
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.37 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:33 $"/>
7
  <language type="ak"/>
8
  </identity>
9
  <characters>
125
  <dateFormats>
126
  <dateFormatLength type="full">
127
  <dateFormat>
128
+ <pattern>EEEE, y MMMM dd</pattern>
129
  </dateFormat>
130
  </dateFormatLength>
131
  <dateFormatLength type="long">
132
  <dateFormat>
133
+ <pattern>y MMMM d</pattern>
134
  </dateFormat>
135
  </dateFormatLength>
136
  <dateFormatLength type="medium">
137
  <dateFormat>
138
+ <pattern>y MMM d</pattern>
139
  </dateFormat>
140
  </dateFormatLength>
141
  <dateFormatLength type="short">
147
  <timeFormats>
148
  <timeFormatLength type="full">
149
  <timeFormat>
150
+ <pattern>HH:mm:ss zzzz</pattern>
151
  </timeFormat>
152
  </timeFormatLength>
153
  <timeFormatLength type="long">
167
  </timeFormatLength>
168
  </timeFormats>
169
  <dateTimeFormats>
 
 
 
 
 
170
  <availableFormats>
171
  <dateFormatItem id="yyQ">Q yy</dateFormatItem>
172
  </availableFormats>
183
  <currencies>
184
  <currency type="GHC">
185
  <displayName>Sidi</displayName>
 
186
  </currency>
187
  </currencies>
188
  </numbers>
189
  </ldml>
190
+
lib/Zend/Locale/Data/ak_GH.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.16 $"/>
6
- <generation date="$Date: 2008/05/28 15:49:27 $"/>
7
  <language type="ak"/>
8
  <territory type="GH"/>
9
  </identity>
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.18 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:34 $"/>
7
  <language type="ak"/>
8
  <territory type="GH"/>
9
  </identity>
lib/Zend/Locale/Data/am.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.77 $"/>
6
- <generation date="$Date: 2008/06/26 03:47:57 $"/>
7
  <language type="am"/>
8
  </identity>
9
  <localeDisplayNames>
@@ -514,7 +514,7 @@
514
  </measurementSystemNames>
515
  </localeDisplayNames>
516
  <characters>
517
- <exemplarCharacters>[ ሀ-ሆ ለ-ቆ ቈ ቊ-ቍ በ-ኆ ኈ ኊ-ኍ ነ-ኮ ኰ ኲ-ኵ ኸ-ኾ ወ-ዎ ዐ-ዖ ዘ-ዷ ጀ-ጎ ጐ ጒ-ጕ ጠ-ፚ]</exemplarCharacters>
518
  <exemplarCharacters type="auxiliary">[᎐-᎙ ሇ ⶀ ᎀ-ᎃ ⶁ-ⶄ ቇ ቐ-ቖ ቘ ቚ-ቝ ᎄ-ᎇ ⶅ-ⶇ ኇ ⶈ-ⶊ ኯ ዀ ዂ-ዅ ዏ ⶋ ⶌ ዸ-ዿ ⶍ ⶎ ጏ ጘ-ጟ ⶓ-ⶖ ⶏ-ⶑ ᎈ-ᎏ ⶒ ⶠ-ⶦ ⶨ-ⶮ ⶰ-ⶶ ⶸ-ⶾ ⷀ-ⷆ ⷈ-ⷎ ⷐ-ⷖ ⷘ-ⷞ]</exemplarCharacters>
519
  </characters>
520
  <delimiters>
@@ -678,17 +678,17 @@
678
  <dateFormats>
679
  <dateFormatLength type="full">
680
  <dateFormat>
681
- <pattern>EEEE፣ dd MMMM ቀን yyyy G</pattern>
682
  </dateFormat>
683
  </dateFormatLength>
684
  <dateFormatLength type="long">
685
  <dateFormat>
686
- <pattern>dd MMMM yyyy</pattern>
687
  </dateFormat>
688
  </dateFormatLength>
689
  <dateFormatLength type="medium">
690
  <dateFormat>
691
- <pattern>MMM d yyyy</pattern>
692
  </dateFormat>
693
  </dateFormatLength>
694
  <dateFormatLength type="short">
@@ -700,7 +700,7 @@
700
  <timeFormats>
701
  <timeFormatLength type="full">
702
  <timeFormat>
703
- <pattern>hh:mm:ss a v</pattern>
704
  </timeFormat>
705
  </timeFormatLength>
706
  <timeFormatLength type="long">
@@ -720,18 +720,13 @@
720
  </timeFormatLength>
721
  </timeFormats>
722
  <dateTimeFormats>
723
- <dateTimeFormatLength>
724
- <dateTimeFormat>
725
- <pattern>{1} {0}</pattern>
726
- </dateTimeFormat>
727
- </dateTimeFormatLength>
728
  <availableFormats>
729
  <dateFormatItem id="MMMMd">MMMM d</dateFormatItem>
730
  <dateFormatItem id="MMMMdd">dd MMMM</dateFormatItem>
731
  <dateFormatItem id="MMdd">dd/MM</dateFormatItem>
732
  <dateFormatItem id="yyMM">MM/yy</dateFormatItem>
733
  <dateFormatItem id="yyQ">Q yy</dateFormatItem>
734
- <dateFormatItem id="yyyyMMMM">MMMM yyyy</dateFormatItem>
735
  </availableFormats>
736
  <intervalFormats>
737
  <intervalFormatFallback>{0} - {1}</intervalFormatFallback>
@@ -787,18 +782,18 @@
787
  <greatestDifference id="y">E, yyyy-MM-dd - E, yyyy-MM-dd</greatestDifference>
788
  </intervalFormatItem>
789
  <intervalFormatItem id="yMMM">
790
- <greatestDifference id="M">yyyy MMM-MMM</greatestDifference>
791
- <greatestDifference id="y">yyyy MMM - yyyy MMM</greatestDifference>
792
  </intervalFormatItem>
793
  <intervalFormatItem id="yMMMEd">
794
- <greatestDifference id="M">E, yyyy MMM dd - E, yyyy MMM dd</greatestDifference>
795
- <greatestDifference id="d">E, yyyy MMM dd - E, yyyy MMM dd</greatestDifference>
796
- <greatestDifference id="y">E, yyyy MMM dd - E, yyyy MMM dd</greatestDifference>
797
  </intervalFormatItem>
798
  <intervalFormatItem id="yMMMd">
799
- <greatestDifference id="M">yyyy MMM d - MMM d</greatestDifference>
800
- <greatestDifference id="d">yyyy MMM d-d</greatestDifference>
801
- <greatestDifference id="y">yyyy MMM d - yyyy MMM d</greatestDifference>
802
  </intervalFormatItem>
803
  <intervalFormatItem id="yMd">
804
  <greatestDifference id="M">yyyy-MM-dd - yyyy-MM-dd</greatestDifference>
@@ -1380,7 +1375,6 @@
1380
  </currency>
1381
  <currency type="CNY">
1382
  <displayName>የቻይና ዩአን ረንሚንቢ</displayName>
1383
- <symbol>Y</symbol>
1384
  </currency>
1385
  <currency type="ETB">
1386
  <displayName>የኢትዮጵያ ብር</displayName>
@@ -1403,7 +1397,6 @@
1403
  </currency>
1404
  <currency type="USD">
1405
  <displayName>የአሜሪካን ዶላር</displayName>
1406
- <symbol>USD</symbol>
1407
  </currency>
1408
  </currencies>
1409
  </numbers>
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.87 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:34 $"/>
7
  <language type="am"/>
8
  </identity>
9
  <localeDisplayNames>
514
  </measurementSystemNames>
515
  </localeDisplayNames>
516
  <characters>
517
+ <exemplarCharacters>[\u135F ሀ-ሆ ለ-ቆ ቈ ቊ-ቍ በ-ኆ ኈ ኊ-ኍ ነ-ኮ ኰ ኲ-ኵ ኸ-ኾ ወ-ዎ ዐ-ዖ ዘ-ዷ ጀ-ጎ ጐ ጒ-ጕ ጠ-ፚ]</exemplarCharacters>
518
  <exemplarCharacters type="auxiliary">[᎐-᎙ ሇ ⶀ ᎀ-ᎃ ⶁ-ⶄ ቇ ቐ-ቖ ቘ ቚ-ቝ ᎄ-ᎇ ⶅ-ⶇ ኇ ⶈ-ⶊ ኯ ዀ ዂ-ዅ ዏ ⶋ ⶌ ዸ-ዿ ⶍ ⶎ ጏ ጘ-ጟ ⶓ-ⶖ ⶏ-ⶑ ᎈ-ᎏ ⶒ ⶠ-ⶦ ⶨ-ⶮ ⶰ-ⶶ ⶸ-ⶾ ⷀ-ⷆ ⷈ-ⷎ ⷐ-ⷖ ⷘ-ⷞ]</exemplarCharacters>
519
  </characters>
520
  <delimiters>
678
  <dateFormats>
679
  <dateFormatLength type="full">
680
  <dateFormat>
681
+ <pattern>EEEE፣ dd MMMM ቀን y G</pattern>
682
  </dateFormat>
683
  </dateFormatLength>
684
  <dateFormatLength type="long">
685
  <dateFormat>
686
+ <pattern>dd MMMM y</pattern>
687
  </dateFormat>
688
  </dateFormatLength>
689
  <dateFormatLength type="medium">
690
  <dateFormat>
691
+ <pattern>MMM d y</pattern>
692
  </dateFormat>
693
  </dateFormatLength>
694
  <dateFormatLength type="short">
700
  <timeFormats>
701
  <timeFormatLength type="full">
702
  <timeFormat>
703
+ <pattern>hh:mm:ss a zzzz</pattern>
704
  </timeFormat>
705
  </timeFormatLength>
706
  <timeFormatLength type="long">
720
  </timeFormatLength>
721
  </timeFormats>
722
  <dateTimeFormats>
 
 
 
 
 
723
  <availableFormats>
724
  <dateFormatItem id="MMMMd">MMMM d</dateFormatItem>
725
  <dateFormatItem id="MMMMdd">dd MMMM</dateFormatItem>
726
  <dateFormatItem id="MMdd">dd/MM</dateFormatItem>
727
  <dateFormatItem id="yyMM">MM/yy</dateFormatItem>
728
  <dateFormatItem id="yyQ">Q yy</dateFormatItem>
729
+ <dateFormatItem id="yyyyMMMM">MMMM y</dateFormatItem>
730
  </availableFormats>
731
  <intervalFormats>
732
  <intervalFormatFallback>{0} - {1}</intervalFormatFallback>
782
  <greatestDifference id="y">E, yyyy-MM-dd - E, yyyy-MM-dd</greatestDifference>
783
  </intervalFormatItem>
784
  <intervalFormatItem id="yMMM">
785
+ <greatestDifference id="M">y MMM-MMM</greatestDifference>
786
+ <greatestDifference id="y">y MMM - y MMM</greatestDifference>
787
  </intervalFormatItem>
788
  <intervalFormatItem id="yMMMEd">
789
+ <greatestDifference id="M">E, y MMM dd - E, y MMM dd</greatestDifference>
790
+ <greatestDifference id="d">E, y MMM dd - E, y MMM dd</greatestDifference>
791
+ <greatestDifference id="y">E, y MMM dd - E, y MMM dd</greatestDifference>
792
  </intervalFormatItem>
793
  <intervalFormatItem id="yMMMd">
794
+ <greatestDifference id="M">y MMM d - MMM d</greatestDifference>
795
+ <greatestDifference id="d">y MMM d-d</greatestDifference>
796
+ <greatestDifference id="y">y MMM d - y MMM d</greatestDifference>
797
  </intervalFormatItem>
798
  <intervalFormatItem id="yMd">
799
  <greatestDifference id="M">yyyy-MM-dd - yyyy-MM-dd</greatestDifference>
1375
  </currency>
1376
  <currency type="CNY">
1377
  <displayName>የቻይና ዩአን ረንሚንቢ</displayName>
 
1378
  </currency>
1379
  <currency type="ETB">
1380
  <displayName>የኢትዮጵያ ብር</displayName>
1397
  </currency>
1398
  <currency type="USD">
1399
  <displayName>የአሜሪካን ዶላር</displayName>
 
1400
  </currency>
1401
  </currencies>
1402
  </numbers>
lib/Zend/Locale/Data/am_ET.xml CHANGED
@@ -1,9 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
  <identity>
5
- <version number="$Revision: 1.49 $"/>
6
- <generation date="$Date: 2008/05/28 15:49:28 $"/>
7
  <language type="am"/>
8
  <territory type="ET"/>
9
  </identity>
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
3
  <ldml>
4
  <identity>
5
+ <version number="$Revision: 1.51 $"/>
6
+ <generation date="$Date: 2009/05/05 23:06:34 $"/>
7
  <language type="am"/>
8
  <territory type="ET"/>
9
  </identity>
lib/Zend/Locale/Data/ar.xml CHANGED
@@ -1,3107 +1,3118 @@
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd">
3
  <ldml>
4
- <identity>
5
- <version number="$Revision: 1.102 $"/>
6
- <generation date="$Date: 2008/06/15 08:09:46 $"/>
7
- <language type="ar"/>
8
- </identity>
9
- <localeDisplayNames>
10
- <localeDisplayPattern>
11
- <localePattern>{0} ({1})</localePattern>
12
- <localeSeparator>،</localeSeparator>
13
- </localeDisplayPattern>
14
- <languages>
15
- <language type="aa">الأفارية</language>
16
- <language type="ab">الأبخازية</language>
17
- <language type="ace">الأتشينيزية</language>
18
- <language type="ach">الأكولية</language>
19
- <language type="ada">الأدانجمية</language>
20
- <language type="ady">الأديجه</language>
21
- <language type="ae">الأفستية</language>
22
- <language type="af">الأفريقية</language>
23
- <language type="afa">لغة أفرو آسيوية</language>
24
- <language type="afh">الأفريهيلية</language>
25
- <language type="ain">الآينوية</language>
26
- <language type="ak">الأكانية</language>
27
- <language type="akk">الأكادية</language>
28
- <language type="ale">الأليوتية</language>
29
- <language type="alg">اللغات الأمريكية الهندية</language>
30
- <language type="alt">الألطائية الجنوبية</language>
31
- <language type="am">الأمهرية</language>
32
- <language type="an">الأراجونية</language>
33
- <language type="ang">الانجليزية القديمة</language>
34
- <language type="anp">الأنجيكا</language>
35
- <language type="apa">اللغات الأباتشية</language>
36
- <language type="ar">العربية</language>
37
- <language type="arc">الآرامية</language>
38
- <language type="arn">الأروكانية</language>
39
- <language type="arp">الأراباهو</language>
40
- <language type="art">الصناعية - أخرى</language>
41
- <language type="arw">الأراواكية</language>
42
- <language type="as">الأسامية</language>
43
- <language type="ast">الأسترية</language>
44
- <language type="ath">اللغات الأزباسكانية</language>
45
- <language type="aus">اللغات الأسترالية</language>
46
- <language type="av">الأفاريكية</language>
47
- <language type="awa">الأوادية</language>
48
- <language type="ay">الأيمارا</language>
49
- <language type="az">الأذرية</language>
50
- <language type="ba">الباشكيرية</language>
51
- <language type="bad">الباندا</language>
52
- <language type="bai">اللغات الباميليكية</language>
53
- <language type="bal">البلوشية</language>
54
- <language type="ban">اللغة البالية</language>
55
- <language type="bas">الباسا</language>
56
- <language type="bat">البلطيقية - أخرى</language>
57
- <language type="be">البيلوروسية</language>
58
- <language type="bej">البيجا</language>
59
- <language type="bem">البيمبا</language>
60
- <language type="ber">البربرية</language>
61
- <language type="bg">البلغارية</language>
62
- <language type="bh">البيهارية</language>
63
- <language type="bho">البهوجبرية</language>
64
- <language type="bi">البيسلامية</language>
65
- <language type="bik">البيكولية</language>
66
- <language type="bin">البينية</language>
67
- <language type="bla">السيكسيكية</language>
68
- <language type="bm">البامبارا</language>
69
- <language type="bn">البنغالية</language>
70
- <language type="bnt">البانتو</language>
71
- <language type="bo">التبتية</language>
72
- <language type="br">البريتونية</language>
73
- <language type="bra">البراجية</language>
74
- <language type="bs">البوسنية</language>
75
- <language type="btk">الباتاكية</language>
76
- <language type="bua">البرياتية</language>
77
- <language type="bug">البجينيزية</language>
78
- <language type="byn">البلينية</language>
79
- <language type="ca">الكاتالوينية</language>
80
- <language type="cad">الكادو</language>
81
- <language type="cai">الهندية الأمريكية الوسطى - أخرى</language>
82
- <language type="car">الكاريبية</language>
83
- <language type="cau">القوقازية - أخرى</language>
84
- <language type="cch">الأتسام</language>
85
- <language type="ce">الشيشانية</language>
86
- <language type="ceb">السيبيونو</language>
87
- <language type="cel">السلتية - أخرى</language>
88
- <language type="ch">التشامورو</language>
89
- <language type="chb">التشيبشا</language>
90
- <language type="chg">التشاجاتاى</language>
91
- <language type="chk">التشكيزية</language>
92
- <language type="chm">الماري</language>
93
- <language type="chn">الشينوك جارجون</language>
94
- <language type="cho">الشوكتو</language>
95
- <language type="chp">الشيباوايان</language>
96
- <language type="chr">الشيروكى</language>
97
- <language type="chy">الشايان</language>
98
- <language type="cmc">اللغات التشاميكية</language>
99
- <language type="co">الكورسيكية</language>
100
- <language type="cop">قبطية</language>
101
- <language type="cpe">الكرييولى و اللغات المبسطة الأخرى للتفاهم بين الشعوب على أساس الأنجليزية</language>
102
- <language type="cpf">الكرييولى و اللغات المبسطة الأخرى للتفاهم بين الشعوب على أساس الفرنسية</language>
103
- <language type="cpp">الكرييولى و اللغات المبسطة الأخرى للتفاهم بين الشعوب على أساس البرتغالية</language>
104
- <language type="cr">الكرى</language>
105
- <language type="crh">تركى كريمين، لغة توركية كريمينية</language>
106
- <language type="crp">الكرييولى و اللغات المبسطة الأخرى للتفاهم بين الشعوب - أخرى</language>
107
- <language type="cs">التشيكية</language>
108
- <language type="csb">الكاشبايان</language>
109
- <language type="cu">سلافية كنسية</language>
110
- <language type="cus">الكشيتيك - أخرى</language>
111
- <language type="cv">التشفاش</language>
112
- <language type="cy">الولزية</language>
113
- <language type="da">الدانماركية</language>
114
- <language type="dak">الداكوتا</language>
115
- <language type="dar">الدارجوا</language>
116
- <language type="day">الدياك</language>
117
- <language type="de">الألمانية</language>
118
- <language type="de_AT">الألمانية النمساوية</language>
119
- <language type="de_CH">الألمانية العليا السويسرية</language>
120
- <language type="del">الديلوير</language>
121
- <language type="den">السلافية</language>
122
- <language type="dgr">الدوجريب</language>
123
- <language type="din">الدنكا</language>
124
- <language type="doi">الدوجرى</language>
125
- <language type="dra">الدرافيدين - أخرى</language>
126
- <language type="dsb">الصربية السفلى</language>
127
- <language type="dua">الديولا</language>
128
- <language type="dum">الهولندية الوسطى</language>
129
- <language type="dv">المالديفية</language>
130
- <language type="dyu">الدايلا</language>
131
- <language type="dz">الزونخاية</language>
132
- <language type="ee">الايوي</language>
133
- <language type="efi">الافيك</language>
134
- <language type="egy">المصرية القديمة</language>
135
- <language type="eka">الاكاجك</language>
136
- <language type="el">اليونانية</language>
137
- <language type="elx">الامايت</language>
138
- <language type="en">الانجليزية</language>
139
- <language type="en_AU">الانجليزية الأسترالية</language>
140
- <language type="en_CA">الإنجليزية الكندية</language>
141
- <language type="en_GB">الانجليزية البريطانية</language>
142
- <language type="en_US">إنجليزية الولايات المتحدة</language>
143
- <language type="enm">الانجليزية الوسطى</language>
144
- <language type="eo">اسبرانتو</language>
145
- <language type="es">الأسبانية</language>
146
- <language type="es_419">أسبانية أمريكا اللاتينية</language>
147
- <language type="es_ES">الأسبانية الأيبيرية</language>
148
- <language type="et">الأستونية</language>
149
- <language type="eu">لغة الباسك</language>
150
- <language type="ewo">الايوندو</language>
151
- <language type="fa">الفارسية</language>
152
- <language type="fan">الفانج</language>
153
- <language type="fat">الفانتى</language>
154
- <language type="ff">الفلة</language>
155
- <language type="fi">الفنلندية</language>
156
- <language type="fil">الفلبينية</language>
157
- <language type="fiu">فينو أجرايان - أخرى</language>
158
- <language type="fj">الفيجية</language>
159
- <language type="fo">الفارويز</language>
160
- <language type="fon">الفون</language>
161
- <language type="fr">الفرنسية</language>
162
- <language type="fr_CA">الفرنسية الكندية</language>
163
- <language type="fr_CH">الفرنسية السويسرية</language>
164
- <language type="frm">الفرنسية الوسطى</language>
165
- <language type="fro">الفرنسية القديمة</language>
166
- <language type="frr">الفريزينية الشمالية</language>
167
- <language type="frs">الفريزينية الشرقية</language>
168
- <language type="fur">الفريلايان</language>
169
- <language type="fy">الفريزيان</language>
170
- <language type="ga">الأيرلندية</language>
171
- <language type="gaa">الجا</language>
172
- <language type="gay">الجايو</language>
173
- <language type="gba">الجبيا</language>
174
- <language type="gd">الغيلية الأسكتلندية</language>
175
- <language type="gem">الجرمانية (أخرى)</language>
176
- <language type="gez">الجيز</language>
177
- <language type="gil">لغة أهل جبل طارق</language>
178
- <language type="gl">الجاليكية</language>
179
- <language type="gmh">الألمانية العليا الوسطى</language>
180
- <language type="gn">الجوارانى</language>
181
- <language type="goh">الألمانية العليا القديمة</language>
182
- <language type="gon">الجندى</language>
183
- <language type="gor">الجورونتالو</language>
184
- <language type="got">القوطية</language>
185
- <language type="grb">الجريبو</language>
186
- <language type="grc">اليونانية القديمة</language>
187
- <language type="gsw">الألمانية السويسرية</language>
188
- <language type="gu">الغوجاراتية</language>
189
- <language type="gv">المنكية</language>
190
- <language type="ha">الهوسا</language>
191
- <language type="hai">الهيدا</language>
192
- <language type="haw">لغة أهل الهاواى</language>
193
- <language type="he">العبرية</language>
194
- <language type="hi">الهندية</language>
195
- <language type="hil">الهيليجينون</language>
196
- <language type="him">الهيماتشالى</language>
197
- <language type="hit">الحثية</language>
198
- <language type="hmn">الهمونجية</language>
199
- <language type="ho">الهيرى موتو</language>
200
- <language type="hr">الكرواتية</language>
201
- <language type="hsb">الصربية العليا</language>
202
- <language type="ht">الهايتية</language>
203
- <language type="hu">الهنغارية</language>
204
- <language type="hup">الهبا</language>
205
- <language type="hy">الأرمينية</language>
206
- <language type="hz">الهيريرو</language>
207
- <language type="ia">اللّغة الوسيطة</language>
208
- <language type="iba">الايبان</language>
209
- <language type="id">الأندونيسية</language>
210
- <language type="ie">الانترلينج</language>
211
- <language type="ig">الايجبو</language>
212
- <language type="ii">السيتشيون يى</language>
213
- <language type="ijo">الايجو</language>
214
- <language type="ik">الاينبياك</language>
215
- <language type="ilo">الايلوكو</language>
216
- <language type="inc">الهندية - أخرى</language>
217
- <language type="ine">الهندية الأوروبية - أخرى</language>
218
- <language type="inh">الانجوشية</language>
219
- <language type="io">الايدو</language>
220
- <language type="ira">الايرانية</language>
221
- <language type="iro">اللغات الايروكويانية</language>
222
- <language type="is">الأيسلاندية</language>
223
- <language type="it">الايطالية</language>
224
- <language type="iu">الاينكتيتت</language>
225
- <language type="ja">اليابانية</language>
226
- <language type="jbo">اللوجبان</language>
227
- <language type="jpr">الجيدو الفارسى</language>
228
- <language type="jrb">الجيدو العربى</language>
229
- <language type="jv">الجاوية</language>
230
- <language type="ka">الجورجية</language>
231
- <language type="kaa">الكارا-كالباك</language>
232
- <language type="kab">القبيلية</language>
233
- <language type="kac">الكاتشين</language>
234
- <language type="kaj">الجو</language>
235
- <language type="kam">الكامبا</language>
236
- <language type="kar">الكاريين</language>
237
- <language type="kaw">الكوى</language>
238
- <language typ