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