File indexing completed on 2025-01-19 05:21:16
0001 <?php 0002 /** 0003 * Zend Framework 0004 * 0005 * LICENSE 0006 * 0007 * This source file is subject to the new BSD license that is bundled 0008 * with this package in the file LICENSE.txt. 0009 * It is also available through the world-wide-web at this URL: 0010 * http://framework.zend.com/license/new-bsd 0011 * If you did not receive a copy of the license and are unable to 0012 * obtain it through the world-wide-web, please send an email 0013 * to license@zend.com so we can send you a copy immediately. 0014 * 0015 * @category Zend 0016 * @package Zend_Locale 0017 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0018 * @license http://framework.zend.com/license/new-bsd New BSD License 0019 * @version $Id$ 0020 */ 0021 0022 /** 0023 * Definition class for all Windows locales 0024 * 0025 * Based on this two lists: 0026 * @link http://msdn.microsoft.com/en-us/library/39cwe7zf.aspx 0027 * @link http://msdn.microsoft.com/en-us/library/cdax410z.aspx 0028 * @link http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx 0029 * @link http://msdn.microsoft.com/en-us/goglobal/bb895996.aspx 0030 * 0031 * @category Zend 0032 * @package Zend_Locale 0033 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0034 * @license http://framework.zend.com/license/new-bsd New BSD License 0035 */ 0036 class Zend_Locale_Data_Translation 0037 { 0038 /** 0039 * Locale Translation for Full Named Locales 0040 * 0041 * @var array $localeTranslation 0042 */ 0043 public static $languageTranslation = array( 0044 'Afrikaans' => 'af', 0045 'Albanian' => 'sq', 0046 'Amharic' => 'am', 0047 'Arabic' => 'ar', 0048 'Armenian' => 'hy', 0049 'Assamese' => 'as', 0050 'Azeri' => 'az', 0051 'Azeri Latin' => 'az_Latn', 0052 'Azeri Cyrillic' => 'az_Cyrl', 0053 'Basque' => 'eu', 0054 'Belarusian' => 'be', 0055 'Bengali' => 'bn', 0056 'Bengali Latin' => 'bn_Latn', 0057 'Bosnian' => 'bs', 0058 'Bulgarian' => 'bg', 0059 'Burmese' => 'my', 0060 'Catalan' => 'ca', 0061 'Cherokee' => 'chr', 0062 'Chinese' => 'zh', 0063 'Croatian' => 'hr', 0064 'Czech' => 'cs', 0065 'Danish' => 'da', 0066 'Divehi' => 'dv', 0067 'Dutch' => 'nl', 0068 'English' => 'en', 0069 'Estonian' => 'et', 0070 'Faroese' => 'fo', 0071 'Faeroese' => 'fo', 0072 'Farsi' => 'fa', 0073 'Filipino' => 'fil', 0074 'Finnish' => 'fi', 0075 'French' => 'fr', 0076 'Frisian' => 'fy', 0077 'Gaelic' => 'gd', 0078 'Galician' => 'gl', 0079 'Georgian' => 'ka', 0080 'German' => 'de', 0081 'Greek' => 'el', 0082 'Guarani' => 'gn', 0083 'Gujarati' => 'gu', 0084 'Hausa' => 'ha', 0085 'Hawaiian' => 'haw', 0086 'Hebrew' => 'he', 0087 'Hindi' => 'hi', 0088 'Hungarian' => 'hu', 0089 'Icelandic' => 'is', 0090 'Igbo' => 'ig', 0091 'Indonesian' => 'id', 0092 'Inuktitut' => 'iu', 0093 'Italian' => 'it', 0094 'Japanese' => 'ja', 0095 'Kannada' => 'kn', 0096 'Kanuri' => 'kr', 0097 'Kashmiri' => 'ks', 0098 'Kazakh' => 'kk', 0099 'Khmer' => 'km', 0100 'Konkani' => 'kok', 0101 'Korean' => 'ko', 0102 'Kyrgyz' => 'ky', 0103 'Lao' => 'lo', 0104 'Latin' => 'la', 0105 'Latvian' => 'lv', 0106 'Lithuanian' => 'lt', 0107 'Macedonian' => 'mk', 0108 'Malay' => 'ms', 0109 'Malayalam' => 'ml', 0110 'Maltese' => 'mt', 0111 'Manipuri' => 'mni', 0112 'Maori' => 'mi', 0113 'Marathi' => 'mr', 0114 'Mongolian' => 'mn', 0115 'Nepali' => 'ne', 0116 'Norwegian' => 'no', 0117 'Norwegian Bokmal' => 'nb', 0118 'Norwegian Nynorsk' => 'nn', 0119 'Oriya' => 'or', 0120 'Oromo' => 'om', 0121 'Papiamentu' => 'pap', 0122 'Pashto' => 'ps', 0123 'Polish' => 'pl', 0124 'Portuguese' => 'pt', 0125 'Punjabi' => 'pa', 0126 'Quecha' => 'qu', 0127 'Quechua' => 'qu', 0128 'Rhaeto-Romanic' => 'rm', 0129 'Romanian' => 'ro', 0130 'Russian' => 'ru', 0131 'Sami' => 'smi', 0132 'Sami Inari' => 'smn', 0133 'Sami Lule' => 'smj', 0134 'Sami Northern' => 'se', 0135 'Sami Skolt' => 'sms', 0136 'Sami Southern' => 'sma', 0137 'Sanskrit' => 'sa', 0138 'Serbian' => 'sr', 0139 'Serbian Latin' => 'sr_Latn', 0140 'Serbian Cyrillic' => 'sr_Cyrl', 0141 'Sindhi' => 'sd', 0142 'Sinhalese' => 'si', 0143 'Slovak' => 'sk', 0144 'Slovenian' => 'sl', 0145 'Somali' => 'so', 0146 'Sorbian' => 'wen', 0147 'Spanish' => 'es', 0148 'Swahili' => 'sw', 0149 'Swedish' => 'sv', 0150 'Syriac' => 'syr', 0151 'Tajik' => 'tg', 0152 'Tamazight' => 'tmh', 0153 'Tamil' => 'ta', 0154 'Tatar' => 'tt', 0155 'Telugu' => 'te', 0156 'Thai' => 'th', 0157 'Tibetan' => 'bo', 0158 'Tigrigna' => 'ti', 0159 'Tsonga' => 'ts', 0160 'Tswana' => 'tn', 0161 'Turkish' => 'tr', 0162 'Turkmen' => 'tk', 0163 'Uighur' => 'ug', 0164 'Ukrainian' => 'uk', 0165 'Urdu' => 'ur', 0166 'Uzbek' => 'uz', 0167 'Uzbek Latin' => 'uz_Latn', 0168 'Uzbek Cyrillic' => 'uz_Cyrl', 0169 'Venda' => 've', 0170 'Vietnamese' => 'vi', 0171 'Welsh' => 'cy', 0172 'Xhosa' => 'xh', 0173 'Yiddish' => 'yi', 0174 'Yoruba' => 'yo', 0175 'Zulu' => 'zu', 0176 ); 0177 0178 public static $regionTranslation = array( 0179 'Albania' => 'AL', 0180 'Algeria' => 'DZ', 0181 'Argentina' => 'AR', 0182 'Armenia' => 'AM', 0183 'Australia' => 'AU', 0184 'Austria' => 'AT', 0185 'Bahrain' => 'BH', 0186 'Bangladesh' => 'BD', 0187 'Belgium' => 'BE', 0188 'Belize' => 'BZ', 0189 'Bhutan' => 'BT', 0190 'Bolivia' => 'BO', 0191 'Bosnia Herzegovina' => 'BA', 0192 'Brazil' => 'BR', 0193 'Brazilian' => 'BR', 0194 'Brunei Darussalam' => 'BN', 0195 'Cameroon' => 'CM', 0196 'Canada' => 'CA', 0197 'Chile' => 'CL', 0198 'China' => 'CN', 0199 'Colombia' => 'CO', 0200 'Costa Rica' => 'CR', 0201 "Cote d'Ivoire" => 'CI', 0202 'Czech Republic' => 'CZ', 0203 'Dominican Republic' => 'DO', 0204 'Denmark' => 'DK', 0205 'Ecuador' => 'EC', 0206 'Egypt' => 'EG', 0207 'El Salvador' => 'SV', 0208 'Eritrea' => 'ER', 0209 'Ethiopia' => 'ET', 0210 'Finland' => 'FI', 0211 'France' => 'FR', 0212 'Germany' => 'DE', 0213 'Greece' => 'GR', 0214 'Guatemala' => 'GT', 0215 'Haiti' => 'HT', 0216 'Honduras' => 'HN', 0217 'Hong Kong' => 'HK', 0218 'Hong Kong SAR' => 'HK', 0219 'Hungary' => 'HU', 0220 'Iceland' => 'IS', 0221 'India' => 'IN', 0222 'Indonesia' => 'ID', 0223 'Iran' => 'IR', 0224 'Iraq' => 'IQ', 0225 'Ireland' => 'IE', 0226 'Italy' => 'IT', 0227 'Jamaica' => 'JM', 0228 'Japan' => 'JP', 0229 'Jordan' => 'JO', 0230 'Korea' => 'KR', 0231 'Kuwait' => 'KW', 0232 'Lebanon' => 'LB', 0233 'Libya' => 'LY', 0234 'Liechtenstein' => 'LI', 0235 'Luxembourg' => 'LU', 0236 'Macau' => 'MO', 0237 'Macao SAR' => 'MO', 0238 'Malaysia' => 'MY', 0239 'Mali' => 'ML', 0240 'Mexico' => 'MX', 0241 'Moldava' => 'MD', 0242 'Monaco' => 'MC', 0243 'Morocco' => 'MA', 0244 'Netherlands' => 'NL', 0245 'New Zealand' => 'NZ', 0246 'Nicaragua' => 'NI', 0247 'Nigeria' => 'NG', 0248 'Norway' => 'NO', 0249 'Oman' => 'OM', 0250 'Pakistan' => 'PK', 0251 'Panama' => 'PA', 0252 'Paraguay' => 'PY', 0253 "People's Republic of China" => 'CN', 0254 'Peru' => 'PE', 0255 'Philippines' => 'PH', 0256 'Poland' => 'PL', 0257 'Portugal' => 'PT', 0258 'PRC' => 'CN', 0259 'Puerto Rico' => 'PR', 0260 'Qatar' => 'QA', 0261 'Reunion' => 'RE', 0262 'Russia' => 'RU', 0263 'Saudi Arabia' => 'SA', 0264 'Senegal' => 'SN', 0265 'Singapore' => 'SG', 0266 'Slovakia' => 'SK', 0267 'South Africa' => 'ZA', 0268 'Spain' => 'ES', 0269 'Sri Lanka' => 'LK', 0270 'Sweden' => 'SE', 0271 'Switzerland' => 'CH', 0272 'Syria' => 'SY', 0273 'Taiwan' => 'TW', 0274 'The Netherlands' => 'NL', 0275 'Trinidad' => 'TT', 0276 'Tunisia' => 'TN', 0277 'UAE' => 'AE', 0278 'United Kingdom' => 'GB', 0279 'United States' => 'US', 0280 'Uruguay' => 'UY', 0281 'Venezuela' => 'VE', 0282 'Yemen' => 'YE', 0283 'Zimbabwe' => 'ZW', 0284 ); 0285 }