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
- lib/Zend/Locale.php +119 -66
- lib/Zend/Locale/Data.php +300 -36
- lib/Zend/Locale/Data/Translation.php +3 -3
- lib/Zend/Locale/Data/aa.xml +8 -47
- lib/Zend/Locale/Data/aa_DJ.xml +4 -13
- lib/Zend/Locale/Data/aa_ER.xml +4 -13
- lib/Zend/Locale/Data/aa_ER_SAAHO.xml +39 -0
- lib/Zend/Locale/Data/aa_ET.xml +3 -3
- lib/Zend/Locale/Data/af.xml +18 -23
- lib/Zend/Locale/Data/af_NA.xml +7 -8
- lib/Zend/Locale/Data/af_ZA.xml +3 -3
- lib/Zend/Locale/Data/ak.xml +8 -13
- lib/Zend/Locale/Data/ak_GH.xml +3 -3
- lib/Zend/Locale/Data/am.xml +17 -24
- lib/Zend/Locale/Data/am_ET.xml +3 -3
- lib/Zend/Locale/Data/ar.xml +3115 -3104
- lib/Zend/Locale/Data/ar_AE.xml +3 -3
- lib/Zend/Locale/Data/ar_BH.xml +3 -3
- lib/Zend/Locale/Data/ar_DZ.xml +27 -3
- lib/Zend/Locale/Data/ar_EG.xml +3 -3
- lib/Zend/Locale/Data/ar_IQ.xml +3 -3
- lib/Zend/Locale/Data/ar_JO.xml +3 -3
- lib/Zend/Locale/Data/ar_KW.xml +3 -3
- lib/Zend/Locale/Data/ar_LB.xml +3 -8
- lib/Zend/Locale/Data/ar_LY.xml +3 -3
- lib/Zend/Locale/Data/ar_MA.xml +30 -3
- lib/Zend/Locale/Data/ar_OM.xml +3 -3
- lib/Zend/Locale/Data/ar_QA.xml +3 -3
- lib/Zend/Locale/Data/ar_SA.xml +3 -3
- lib/Zend/Locale/Data/ar_SD.xml +3 -3
- lib/Zend/Locale/Data/ar_SY.xml +3 -3
- lib/Zend/Locale/Data/ar_TN.xml +24 -3
- lib/Zend/Locale/Data/ar_YE.xml +3 -3
- lib/Zend/Locale/Data/as.xml +7 -13
- lib/Zend/Locale/Data/as_IN.xml +3 -3
- lib/Zend/Locale/Data/az.xml +14 -50
- lib/Zend/Locale/Data/az_AZ.xml +3 -3
- lib/Zend/Locale/Data/az_Cyrl.xml +4 -4
- lib/Zend/Locale/Data/az_Cyrl_AZ.xml +3 -3
- lib/Zend/Locale/Data/az_Latn.xml +3 -3
- lib/Zend/Locale/Data/az_Latn_AZ.xml +3 -3
- lib/Zend/Locale/Data/be.xml +35 -135
- lib/Zend/Locale/Data/be_BY.xml +3 -3
- lib/Zend/Locale/Data/bg.xml +1176 -225
- lib/Zend/Locale/Data/bg_BG.xml +3 -3
- lib/Zend/Locale/Data/bn.xml +148 -233
- lib/Zend/Locale/Data/bn_BD.xml +3 -3
- lib/Zend/Locale/Data/bn_IN.xml +9 -167
- lib/Zend/Locale/Data/bo.xml +441 -0
- lib/Zend/Locale/Data/bo_CN.xml +10 -0
- lib/Zend/Locale/Data/bo_IN.xml +10 -0
- lib/Zend/Locale/Data/bs.xml +7 -14
- lib/Zend/Locale/Data/bs_BA.xml +3 -3
- lib/Zend/Locale/Data/byn.xml +10 -16
- lib/Zend/Locale/Data/byn_ER.xml +3 -3
- lib/Zend/Locale/Data/ca.xml +1866 -257
- lib/Zend/Locale/Data/ca_ES.xml +3 -3
- lib/Zend/Locale/Data/cch.xml +9 -14
- lib/Zend/Locale/Data/cch_NG.xml +3 -3
- lib/Zend/Locale/Data/characters.xml +478 -1884
- lib/Zend/Locale/Data/cop.xml +7 -12
- lib/Zend/Locale/Data/cs.xml +364 -130
- lib/Zend/Locale/Data/cs_CZ.xml +3 -3
- lib/Zend/Locale/Data/cy.xml +18 -25
- lib/Zend/Locale/Data/cy_GB.xml +3 -3
- lib/Zend/Locale/Data/da.xml +304 -154
- lib/Zend/Locale/Data/da_DK.xml +3 -3
- lib/Zend/Locale/Data/de.xml +143 -219
- lib/Zend/Locale/Data/de_AT.xml +11 -12
- lib/Zend/Locale/Data/de_BE.xml +13 -19
- lib/Zend/Locale/Data/de_CH.xml +9 -3
- lib/Zend/Locale/Data/de_DE.xml +3 -3
- lib/Zend/Locale/Data/de_LI.xml +3 -4
- lib/Zend/Locale/Data/de_LU.xml +3 -3
- lib/Zend/Locale/Data/dv.xml +8 -13
- lib/Zend/Locale/Data/dv_MV.xml +3 -3
- lib/Zend/Locale/Data/dz.xml +10 -22
- lib/Zend/Locale/Data/dz_BT.xml +3 -3
- lib/Zend/Locale/Data/ee.xml +8 -14
- lib/Zend/Locale/Data/ee_GH.xml +3 -3
- lib/Zend/Locale/Data/ee_TG.xml +3 -3
- 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-
|
18 |
* @license http://framework.zend.com/license/new-bsd New BSD License
|
19 |
-
* @version $Id: Locale.php
|
20 |
*/
|
21 |
|
22 |
/**
|
@@ -24,7 +24,7 @@
|
|
24 |
*
|
25 |
* @category Zend
|
26 |
* @package Zend_Locale
|
27 |
-
* @copyright Copyright (c) 2005-
|
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, '
|
49 |
-
'
|
50 |
-
'
|
51 |
-
'
|
52 |
-
'
|
53 |
-
'
|
54 |
-
'
|
55 |
-
'
|
56 |
-
'
|
57 |
-
'
|
58 |
-
'
|
59 |
-
'
|
60 |
-
'
|
61 |
-
'
|
62 |
-
'
|
63 |
-
'
|
64 |
-
'
|
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, '
|
67 |
-
'fur_IT'=> true, 'fur' => true, 'ga_IE' => true, 'ga' => true,
|
68 |
-
'
|
69 |
-
'
|
70 |
-
'
|
71 |
-
'
|
72 |
-
'
|
73 |
-
'
|
74 |
-
'
|
75 |
-
'
|
76 |
-
'
|
77 |
-
'
|
78 |
-
'
|
79 |
-
'
|
80 |
-
'
|
81 |
-
'
|
82 |
-
'
|
83 |
-
'
|
84 |
-
'
|
85 |
-
'
|
86 |
-
'
|
87 |
-
'
|
88 |
-
'
|
89 |
-
'
|
90 |
-
'
|
91 |
-
'
|
92 |
-
'
|
93 |
-
'
|
|
|
|
|
|
|
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 |
-
'
|
98 |
-
'
|
99 |
-
'
|
100 |
-
'
|
101 |
-
'
|
102 |
-
'
|
103 |
-
'
|
104 |
-
'
|
105 |
-
'
|
106 |
-
'
|
107 |
-
'
|
108 |
-
'
|
|
|
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 =
|
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 |
-
$
|
282 |
-
if (isset(self::$_localeData[$
|
283 |
-
self::$_default = array($
|
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
|
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-
|
19 |
* @license http://framework.zend.com/license/new-bsd New BSD License
|
20 |
-
* @version $Id: Data.php
|
21 |
*/
|
22 |
|
23 |
/**
|
@@ -31,7 +31,7 @@
|
|
31 |
* @category Zend
|
32 |
* @package Zend_Locale
|
33 |
* @subpackage Data
|
34 |
-
* @copyright Copyright (c) 2005-
|
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 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
}
|
306 |
|
307 |
$temp = array();
|
@@ -505,7 +519,46 @@ class Zend_Locale_Data
|
|
505 |
if (empty($value)) {
|
506 |
$value = "gregorian";
|
507 |
}
|
508 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-
|
18 |
* @license http://framework.zend.com/license/new-bsd New BSD License
|
19 |
-
* @version $Id:
|
20 |
*/
|
21 |
|
22 |
/**
|
@@ -24,7 +24,7 @@
|
|
24 |
*
|
25 |
* @category Zend
|
26 |
* @package Zend_Locale
|
27 |
-
* @copyright Copyright (c) 2005-
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
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,
|
158 |
</dateFormat>
|
159 |
</dateFormatLength>
|
160 |
<dateFormatLength type="long">
|
161 |
<dateFormat>
|
162 |
-
<pattern>dd MMMM
|
163 |
</dateFormat>
|
164 |
</dateFormatLength>
|
165 |
<dateFormatLength type="medium">
|
166 |
<dateFormat>
|
167 |
-
<pattern>dd-MMM-
|
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
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
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
|
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
|
556 |
</dateFormat>
|
557 |
</dateFormatLength>
|
558 |
<dateFormatLength type="long">
|
559 |
<dateFormat>
|
560 |
-
<pattern>dd MMMM
|
561 |
</dateFormat>
|
562 |
</dateFormatLength>
|
563 |
<dateFormatLength type="medium">
|
564 |
<dateFormat>
|
565 |
-
<pattern>dd MMM
|
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
|
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
|
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">
|
665 |
-
<greatestDifference id="y">
|
666 |
</intervalFormatItem>
|
667 |
<intervalFormatItem id="yMMMEd">
|
668 |
-
<greatestDifference id="M">E,
|
669 |
-
<greatestDifference id="d">E,
|
670 |
-
<greatestDifference id="y">E,
|
671 |
</intervalFormatItem>
|
672 |
<intervalFormatItem id="yMMMd">
|
673 |
-
<greatestDifference id="M">
|
674 |
-
<greatestDifference id="d">
|
675 |
-
<greatestDifference id="y">
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
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
|
17 |
</dateFormat>
|
18 |
</dateFormatLength>
|
19 |
<dateFormatLength type="long">
|
20 |
<dateFormat>
|
21 |
-
<pattern>d MMMM
|
22 |
</dateFormat>
|
23 |
</dateFormatLength>
|
24 |
<dateFormatLength type="medium">
|
25 |
<dateFormat>
|
26 |
-
<pattern>d MMM
|
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
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
7 |
<language type="ak"/>
|
8 |
</identity>
|
9 |
<characters>
|
@@ -125,17 +125,17 @@
|
|
125 |
<dateFormats>
|
126 |
<dateFormatLength type="full">
|
127 |
<dateFormat>
|
128 |
-
<pattern>EEEE,
|
129 |
</dateFormat>
|
130 |
</dateFormatLength>
|
131 |
<dateFormatLength type="long">
|
132 |
<dateFormat>
|
133 |
-
<pattern>
|
134 |
</dateFormat>
|
135 |
</dateFormatLength>
|
136 |
<dateFormatLength type="medium">
|
137 |
<dateFormat>
|
138 |
-
<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
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
7 |
<language type="am"/>
|
8 |
</identity>
|
9 |
<localeDisplayNames>
|
@@ -514,7 +514,7 @@
|
|
514 |
</measurementSystemNames>
|
515 |
</localeDisplayNames>
|
516 |
<characters>
|
517 |
-
<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 ቀን
|
682 |
</dateFormat>
|
683 |
</dateFormatLength>
|
684 |
<dateFormatLength type="long">
|
685 |
<dateFormat>
|
686 |
-
<pattern>dd MMMM
|
687 |
</dateFormat>
|
688 |
</dateFormatLength>
|
689 |
<dateFormatLength type="medium">
|
690 |
<dateFormat>
|
691 |
-
<pattern>MMM d
|
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
|
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
|
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">
|
791 |
-
<greatestDifference id="y">
|
792 |
</intervalFormatItem>
|
793 |
<intervalFormatItem id="yMMMEd">
|
794 |
-
<greatestDifference id="M">E,
|
795 |
-
<greatestDifference id="d">E,
|
796 |
-
<greatestDifference id="y">E,
|
797 |
</intervalFormatItem>
|
798 |
<intervalFormatItem id="yMMMd">
|
799 |
-
<greatestDifference id="M">
|
800 |
-
<greatestDifference id="d">
|
801 |
-
<greatestDifference id="y">
|
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 "
|
3 |
<ldml>
|
4 |
<identity>
|
5 |
-
<version number="$Revision: 1.
|
6 |
-
<generation date="$Date:
|
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 "
|
3 |
<ldml>
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
|