1. /*
  2. * @(#)LocaleElements.java 1.27 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. /*
  8. * @(#)LocaleElements.java 1.27 01/11/29
  9. *
  10. * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
  11. * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
  12. *
  13. * Portions copyright (c) 1996-1998 Sun Microsystems, Inc.
  14. * All Rights Reserved.
  15. *
  16. * The original version of this source code and documentation
  17. * is copyrighted and owned by Taligent, Inc., a wholly-owned
  18. * subsidiary of IBM. These materials are provided under terms
  19. * of a License Agreement between Taligent and Sun. This technology
  20. * is protected by multiple US and International patents.
  21. *
  22. * This notice and attribution to Taligent may not be removed.
  23. * Taligent is a registered trademark of Taligent, Inc.
  24. *
  25. * Permission to use, copy, modify, and distribute this software
  26. * and its documentation for NON-COMMERCIAL purposes and without
  27. * fee is hereby granted provided that this copyright notice
  28. * appears in all copies. Please refer to the file "copyright.html"
  29. * for further important copyright and licensing information.
  30. *
  31. * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
  32. * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
  33. * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
  34. * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
  35. * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
  36. * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
  37. *
  38. */
  39. /**
  40. *
  41. * Table of Java supplied standard locale elements
  42. *
  43. * automatically generated by java LocaleTool LocaleElements.java
  44. *
  45. * Date Created: Wed Aug 21 15:47:57 1996
  46. *
  47. * Locale Elements and Patterns: last update 10/23/96
  48. * Manual update 5/15/98
  49. *
  50. */
  51. // WARNING : the format of this file will change in the future!
  52. package java.text.resources;
  53. import java.util.ListResourceBundle;
  54. import java.awt.ComponentOrientation;
  55. public class LocaleElements extends ListResourceBundle {
  56. /**
  57. * Overrides ListResourceBundle
  58. */
  59. public Object[][] getContents() {
  60. return new Object[][] {
  61. { "LocaleString", "en" }, // locale id based on iso codes
  62. { "LocaleID", "0409" }, // Windows id
  63. { "ShortLanguage", "eng" }, // iso-3 abbrev lang name
  64. { "ShortCountry", "" }, // iso-3 abbrev country name
  65. { "Languages", // language names
  66. new String[][] {
  67. { "ab", "Abkhazian" },
  68. { "aa", "Afar" },
  69. { "af", "Afrikaans" },
  70. { "sq", "Albanian" },
  71. { "am", "Amharic" },
  72. { "ar", "Arabic" },
  73. { "hy", "Armenian" },
  74. { "as", "Assamese" },
  75. { "ay", "Aymara" },
  76. { "az", "Azerbaijani" },
  77. { "ba", "Bashkir" },
  78. { "eu", "Basque" },
  79. { "bn", "Bengali" },
  80. { "dz", "Bhutani" },
  81. { "bh", "Bihari" },
  82. { "bi", "Bislama" },
  83. { "br", "Breton" },
  84. { "bg", "Bulgarian" },
  85. { "my", "Burmese" },
  86. { "be", "Byelorussian" },
  87. { "km", "Cambodian" },
  88. { "ca", "Catalan" },
  89. { "zh", "Chinese" },
  90. { "co", "Corsican" },
  91. { "hr", "Croatian" },
  92. { "cs", "Czech" },
  93. { "da", "Danish" },
  94. { "nl", "Dutch" },
  95. { "en", "English" },
  96. { "eo", "Esperanto" },
  97. { "et", "Estonian" },
  98. { "fo", "Faeroese" },
  99. { "fj", "Fiji" },
  100. { "fi", "Finnish" },
  101. { "fr", "French" },
  102. { "fy", "Frisian" },
  103. { "gl", "Galician" },
  104. { "ka", "Georgian" },
  105. { "de", "German" },
  106. { "el", "Greek" },
  107. { "kl", "Greenlandic" },
  108. { "gn", "Guarani" },
  109. { "gu", "Gujarati" },
  110. { "ha", "Hausa" },
  111. { "he", "Hebrew" },
  112. { "iw", "Hebrew" },
  113. { "hi", "Hindi" },
  114. { "hu", "Hungarian" },
  115. { "is", "Icelandic" },
  116. { "id", "Indonesian" },
  117. { "in", "Indonesian" },
  118. { "ia", "Interlingua" },
  119. { "ie", "Interlingue" },
  120. { "iu", "Inukitut" },
  121. { "ik", "Inupiak" },
  122. { "ga", "Irish" },
  123. { "it", "Italian" },
  124. { "ja", "Japanese" },
  125. { "jw", "Javanese" },
  126. { "kn", "Kannada" },
  127. { "ks", "Kashmiri" },
  128. { "kk", "Kazakh" },
  129. { "rw", "Kinyarwanda" },
  130. { "ky", "Kirghiz" },
  131. { "rn", "Kirundi" },
  132. { "ko", "Korean" },
  133. { "ku", "Kurdish" },
  134. { "lo", "Laothian" },
  135. { "la", "Latin" },
  136. { "lv", "Latvian (Lettish)" },
  137. { "ln", "Lingala" },
  138. { "lt", "Lithuanian" },
  139. { "mk", "Macedonian" },
  140. { "mg", "Malagasy" },
  141. { "ms", "Malay" },
  142. { "ml", "Malayalam" },
  143. { "mt", "Maltese" },
  144. { "mi", "Maori" },
  145. { "mr", "Marathi" },
  146. { "mo", "Moldavian" },
  147. { "mn", "Mongolian" },
  148. { "na", "Nauru" },
  149. { "ne", "Nepali" },
  150. { "no", "Norwegian" },
  151. { "oc", "Occitan" },
  152. { "or", "Oriya" },
  153. { "om", "Oromo (Afan)" },
  154. { "ps", "Pashto (Pushto)" },
  155. { "fa", "Persian" },
  156. { "pl", "Polish" },
  157. { "pt", "Portuguese" },
  158. { "pa", "Punjabi" },
  159. { "qu", "Quechua" },
  160. { "rm", "Rhaeto-Romance" },
  161. { "ro", "Romanian" },
  162. { "ru", "Russian" },
  163. { "sm", "Samoan" },
  164. { "sg", "Sangro" },
  165. { "sa", "Sanskrit" },
  166. { "gd", "Scots Gaelic" },
  167. { "sr", "Serbian" },
  168. { "sh", "Serbo-Croatian" },
  169. { "st", "Sesotho" },
  170. { "tn", "Setswana" },
  171. { "sn", "Shona" },
  172. { "sd", "Sindhi" },
  173. { "si", "Singhalese" },
  174. { "ss", "Siswati" },
  175. { "sk", "Slovak" },
  176. { "sl", "Slovenian" },
  177. { "so", "Somali" },
  178. { "es", "Spanish" },
  179. { "su", "Sundanese" },
  180. { "sw", "Swahili" },
  181. { "sv", "Swedish" },
  182. { "tl", "Tagalog" },
  183. { "tg", "Tajik" },
  184. { "ta", "Tamil" },
  185. { "tt", "Tatar" },
  186. { "te", "Telugu" },
  187. { "th", "Thai" },
  188. { "bo", "Tibetan" },
  189. { "ti", "Tigrinya" },
  190. { "to", "Tonga" },
  191. { "ts", "Tsonga" },
  192. { "tr", "Turkish" },
  193. { "tk", "Turkmen" },
  194. { "tw", "Twi" },
  195. { "ug", "Uighur" },
  196. { "uk", "Ukrainian" },
  197. { "ur", "Urdu" },
  198. { "uz", "Uzbek" },
  199. { "vi", "Vietnamese" },
  200. { "vo", "Volapuk" },
  201. { "cy", "Welsh" },
  202. { "wo", "Wolof" },
  203. { "xh", "Xhosa" },
  204. { "ji", "Yiddish" },
  205. { "yi", "Yiddish" },
  206. { "yo", "Yoruba" },
  207. { "za", "Zhuang" },
  208. { "zu", "Zulu" }
  209. }
  210. },
  211. { "Countries", // country names
  212. new String[][] {
  213. { "AF", "Afghanistan" },
  214. { "AL", "Albania" },
  215. { "DZ", "Algeria" },
  216. { "AD", "Andorra" },
  217. { "AO", "Angola" },
  218. { "AI", "Anguilla" },
  219. { "AR", "Argentina" },
  220. { "AM", "Armenia" },
  221. { "AW", "Aruba" },
  222. { "AU", "Australia" },
  223. { "AT", "Austria" },
  224. { "AZ", "Azerbaijan" },
  225. { "BS", "Bahamas" },
  226. { "BH", "Bahrain" },
  227. { "BD", "Bangladesh" },
  228. { "BB", "Barbados" },
  229. { "BY", "Belarus" },
  230. { "BE", "Belgium" },
  231. { "BZ", "Belize" },
  232. { "BJ", "Benin" },
  233. { "BM", "Bermuda" },
  234. { "BT", "Bhutan" },
  235. { "BO", "Bolivia" },
  236. { "BA", "Bosnia and Herzegovina" },
  237. { "BW", "Botswana" },
  238. { "BR", "Brazil" },
  239. { "BN", "Brunei" },
  240. { "BG", "Bulgaria" },
  241. { "BF", "Burkina Faso" },
  242. { "BI", "Burundi" },
  243. { "KH", "Cambodia" },
  244. { "CM", "Cameroon" },
  245. { "CA", "Canada" },
  246. { "CV", "Cape Verde" },
  247. { "CF", "Central African Republic" },
  248. { "TD", "Chad" },
  249. { "CL", "Chile" },
  250. { "CN", "China" },
  251. { "CO", "Colombia" },
  252. { "KM", "Comoros" },
  253. { "CG", "Congo" },
  254. { "CR", "Costa Rica" },
  255. // Ivory Coast is older usage; Cd'I is now in common use in English
  256. { "CI", "C\u00F4te d'Ivoire" },
  257. { "HR", "Croatia" },
  258. { "CU", "Cuba" },
  259. { "CY", "Cyprus" },
  260. { "CZ", "Czech Republic" },
  261. { "DK", "Denmark" },
  262. { "DJ", "Djibouti" },
  263. { "DM", "Dominica" },
  264. { "DO", "Dominican Republic" },
  265. { "TP", "East Timor" },
  266. { "EC", "Ecuador" },
  267. { "EG", "Egypt" },
  268. { "SV", "El Salvador" },
  269. { "GQ", "Equatorial Guinea" },
  270. { "ER", "Eritrea" },
  271. { "EE", "Estonia" },
  272. { "ET", "Ethiopia" },
  273. { "FJ", "Fiji" },
  274. { "FI", "Finland" },
  275. { "FR", "France" },
  276. { "GF", "French Guiana" },
  277. { "PF", "French Polynesia" },
  278. { "TF", "French Southern Territories" },
  279. { "GA", "Gabon" },
  280. { "GM", "Gambia" },
  281. { "GE", "Georgia" },
  282. { "DE", "Germany" },
  283. { "GH", "Ghana" },
  284. { "GR", "Greece" },
  285. { "GP", "Guadeloupe" },
  286. { "GT", "Guatemala" },
  287. { "GN", "Guinea" },
  288. { "GW", "Guinea-Bissau" },
  289. { "GY", "Guyana" },
  290. { "HT", "Haiti" },
  291. { "HN", "Honduras" },
  292. { "HK", "Hong Kong" },
  293. { "HU", "Hungary" },
  294. { "IS", "Iceland" },
  295. { "IN", "India" },
  296. { "ID", "Indonesia" },
  297. { "IR", "Iran" },
  298. { "IQ", "Iraq" },
  299. { "IE", "Ireland" },
  300. { "IL", "Israel" },
  301. { "IT", "Italy" },
  302. { "JM", "Jamaica" },
  303. { "JP", "Japan" },
  304. { "JO", "Jordan" },
  305. { "KZ", "Kazakhstan" },
  306. { "KE", "Kenya" },
  307. { "KI", "Kiribati" },
  308. { "KP", "North Korea" },
  309. { "KR", "South Korea" },
  310. { "KW", "Kuwait" },
  311. { "KG", "Kyrgyzstan" },
  312. { "LA", "Laos" },
  313. { "LV", "Latvia" },
  314. { "LB", "Lebanon" },
  315. { "LS", "Lesotho" },
  316. { "LR", "Liberia" },
  317. { "LY", "Libya" },
  318. { "LI", "Liechtenstein" },
  319. { "LT", "Lithuania" },
  320. { "LU", "Luxembourg" },
  321. { "MK", "Macedonia" },
  322. { "MG", "Madagascar" },
  323. { "MY", "Malaysia" },
  324. { "ML", "Mali" },
  325. { "MT", "Malta" },
  326. { "MQ", "Martinique" },
  327. { "MR", "Mauritania" },
  328. { "MU", "Mauritius" },
  329. { "YT", "Mayotte" },
  330. { "MX", "Mexico" },
  331. { "FM", "Micronesia" },
  332. { "MD", "Moldova" },
  333. { "MC", "Monaco" },
  334. { "MN", "Mongolia" },
  335. { "MS", "Montserrat" },
  336. { "MA", "Morocco" },
  337. { "MZ", "Mozambique" },
  338. { "MM", "Myanmar" },
  339. { "NA", "Namibia" },
  340. { "NP", "Nepal" },
  341. { "NL", "Netherlands" },
  342. { "AN", "Netherlands Antilles" },
  343. { "NC", "New Caledonia" },
  344. { "NZ", "New Zealand" },
  345. { "NI", "Nicaragua" },
  346. { "NE", "Niger" },
  347. { "NG", "Nigeria" },
  348. { "NU", "Niue" },
  349. { "NO", "Norway" },
  350. { "OM", "Oman" },
  351. { "PK", "Pakistan" },
  352. { "PA", "Panama" },
  353. { "PG", "Papua New Guinea" },
  354. { "PY", "Paraguay" },
  355. { "PE", "Peru" },
  356. { "PH", "Philippines" },
  357. { "PL", "Poland" },
  358. { "PT", "Portugal" },
  359. { "PR", "Puerto Rico" },
  360. { "QA", "Qatar" },
  361. { "RO", "Romania" },
  362. { "RU", "Russia" },
  363. { "RW", "Rwanda" },
  364. { "SA", "Saudi Arabia" },
  365. { "SN", "Senegal" },
  366. { "SP", "Serbia" },
  367. { "SC", "Seychelles" },
  368. { "SL", "Sierra Leone" },
  369. { "SG", "Singapore" },
  370. { "SK", "Slovakia" },
  371. { "SI", "Slovenia" },
  372. { "SO", "Somalia" },
  373. { "ZA", "South Africa" },
  374. { "ES", "Spain" },
  375. { "LK", "Sri Lanka" },
  376. { "SD", "Sudan" },
  377. { "SR", "Suriname" },
  378. { "SZ", "Swaziland" },
  379. { "SE", "Sweden" },
  380. { "CH", "Switzerland" },
  381. { "SY", "Syria" },
  382. { "TW", "Taiwan" },
  383. { "TJ", "Tajikistan" },
  384. { "TZ", "Tanzania" },
  385. { "TH", "Thailand" },
  386. { "TG", "Togo" },
  387. { "TK", "Tokelau" },
  388. { "TO", "Tonga" },
  389. { "TT", "Trinidad and Tobago" },
  390. { "TN", "Tunisia" },
  391. { "TR", "Turkey" },
  392. { "TM", "Turkmenistan" },
  393. { "UG", "Uganda" },
  394. { "UA", "Ukraine" },
  395. { "AE", "United Arab Emirates" },
  396. { "GB", "United Kingdom" },
  397. { "US", "United States" },
  398. { "UY", "Uruguay" },
  399. { "UZ", "Uzbekistan" },
  400. { "VU", "Vanuatu" },
  401. { "VA", "Vatican" },
  402. { "VE", "Venezuela" },
  403. { "VN", "Vietnam" }, // One word
  404. { "VG", "British Virgin Islands" },
  405. { "VI", "U.S. Virgin Islands" },
  406. { "EH", "Western Sahara" },
  407. { "YE", "Yemen" },
  408. { "YU", "Yugoslavia" },
  409. { "ZR", "Zaire" },
  410. { "ZM", "Zambia" },
  411. { "ZW", "Zimbabwe" }
  412. }
  413. },
  414. { "%%EURO", "Euro" }, // Euro variant display name
  415. { "%%B", "Bokm\u00e5l" }, // Nowegain variant display name
  416. { "%%NY", "Nynorsk" }, // Nowegian variant display name
  417. { "LocaleNamePatterns",
  418. /* Formats for the display name of a locale, for a list of
  419. * items, and for composing two items in a list into one item.
  420. * The list patterns are used in the variant name and in the
  421. * full display name.
  422. *
  423. * This is the language-neutral form of this resource.
  424. */
  425. new String[] {
  426. "{0,choice,0#|1#{1}|2#{1} ({2})}", // Display name
  427. "{0,choice,0#|1#{1}|2#{1},{2}|3#{1},{2},{3}}", // List
  428. "{0},{1}" // List composition
  429. }
  430. },
  431. { "MonthNames",
  432. new String[] {
  433. "January", // january
  434. "February", // february
  435. "March", // march
  436. "April", // april
  437. "May", // may
  438. "June", // june
  439. "July", // july
  440. "August", // august
  441. "September", // september
  442. "October", // october
  443. "November", // november
  444. "December", // december
  445. "" // month 13 if applicable
  446. }
  447. },
  448. { "MonthAbbreviations",
  449. new String[] {
  450. "Jan", // abb january
  451. "Feb", // abb february
  452. "Mar", // abb march
  453. "Apr", // abb april
  454. "May", // abb may
  455. "Jun", // abb june
  456. "Jul", // abb july
  457. "Aug", // abb august
  458. "Sep", // abb september
  459. "Oct", // abb october
  460. "Nov", // abb november
  461. "Dec", // abb december
  462. "" // abb month 13 if applicable
  463. }
  464. },
  465. { "DayNames",
  466. new String[] {
  467. "Sunday", // Sunday
  468. "Monday", // Monday
  469. "Tuesday", // Tuesday
  470. "Wednesday", // Wednesday
  471. "Thursday", // Thursday
  472. "Friday", // Friday
  473. "Saturday" // Saturday
  474. }
  475. },
  476. { "DayAbbreviations",
  477. new String[] {
  478. "Sun", // abb Sunday
  479. "Mon", // abb Monday
  480. "Tue", // abb Tuesday
  481. "Wed", // abb Wednesday
  482. "Thu", // abb Thursday
  483. "Fri", // abb Friday
  484. "Sat" // abb Saturday
  485. }
  486. },
  487. { "AmPmMarkers",
  488. new String[] {
  489. "AM", // am marker
  490. "PM" // pm marker
  491. }
  492. },
  493. { "Eras",
  494. new String[] { // era strings
  495. "BC",
  496. "AD"
  497. }
  498. },
  499. { "NumberPatterns",
  500. new String[] {
  501. "#,##0.###;-#,##0.###", // decimal pattern
  502. "\u00a4 #,##0.00;-\u00a4 #,##0.00", // currency pattern
  503. "#,##0%" // percent pattern
  504. }
  505. },
  506. { "NumberElements",
  507. new String[] {
  508. ".", // decimal separator
  509. ",", // group (thousands) separator
  510. ";", // list separator
  511. "%", // percent sign
  512. "0", // native 0 digit
  513. "#", // pattern digit
  514. "-", // minus sign
  515. "E", // exponential
  516. "\u2030", // per mille
  517. "\u221e", // infinity
  518. "\ufffd" // NaN
  519. }
  520. },
  521. { "CurrencyElements", // NOTE: These currency symbols are generic currency symbols;
  522. // the root locale is supposed to contain language-specific
  523. // information only.
  524. new String[] {
  525. "\u00a4", // local currency symbol
  526. "XXX", // intl currency symbol
  527. "" // monetary decimal separator
  528. }
  529. },
  530. { "DateTimePatterns",
  531. new String[] {
  532. "h:mm:ss a z", // full time pattern
  533. "h:mm:ss a z", // long time pattern
  534. "h:mm:ss a", // medium time pattern
  535. "h:mm a", // short time pattern
  536. "EEEE, MMMM d, yyyy", // full date pattern
  537. "MMMM d, yyyy", // long date pattern
  538. "MMM d, yyyy", // medium date pattern
  539. "M/d/yy", // short date pattern
  540. "{1} {0}" // date-time pattern
  541. }
  542. },
  543. { "DateTimeElements",
  544. new String[] {
  545. "1", // first day of week
  546. "1" // min days in first week
  547. }
  548. },
  549. { "CollationElements", "" },
  550. { "Orientation", ComponentOrientation.LEFT_TO_RIGHT },
  551. };
  552. }
  553. }