home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 July / Chip_1998-07_cd.bin / zkuste / JBuilder / JBuild / jbuilder / jruntime.z / locale_str.h < prev    next >
Text File  |  1997-08-25  |  8KB  |  297 lines

  1. /*
  2.  * @(#)locale_str.h    1.7 97/01/24
  3.  * 
  4.  * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  * CopyrightVersion 1.1_beta
  20.  * 
  21.  */
  22. /*
  23.  * Windows language string to ISO639 string mapping table
  24.  */
  25. static char *language_names[] = {
  26.     "arabic",         "ar",        /* Arabic */
  27.     "belorussian",     "be",        /* Belorussian */
  28.     "bulgarian",     "bg",        /* Bulgarian */
  29.     "catalan",        "ca",        /* Catalan */
  30.     "csy",        "cs",        /* Czech */
  31.     "czech",        "cs",
  32.     "dan",        "da",        /* Danish */
  33.     "danish",        "da",
  34.     "dea",        "de",        /* German */
  35.     "des",        "de",
  36.     "deu",        "de",
  37.     "german",        "de",
  38.     "german-austrian",    "de",
  39.     "german-swiss",    "de",
  40.     "swiss",        "de",
  41.     "ell",        "el",        /* Greek */
  42.     "greek",        "el",
  43.     "american",        "en",        /* English */
  44.     "american english",    "en",
  45.     "american-english",    "en",
  46.     "australian",    "en",
  47.     "canadian",        "en",
  48.     "ena",        "en",
  49.     "enc",        "en",
  50.     "eng",        "en",
  51.     "english",        "en",
  52.     "english-american",    "en",
  53.     "english-aus",    "en",
  54.     "english-can",    "en",
  55.     "english-nz",    "en",
  56.     "english-uk",    "en",
  57.     "english-us",    "en",
  58.     "english-usa",    "en",
  59.     "enu",        "en",
  60.     "enz",        "en",
  61.     "uk",        "en",
  62.     "us",        "en",
  63.     "usa",        "en",
  64.     "esm",        "es",        /* Spanish */
  65.     "esn",        "es",
  66.     "esp",        "es",
  67.     "spanish",        "es",
  68.     "spanish-mexican",    "es",
  69.     "spanish-modern",    "es",
  70.     "estonian",        "et",        /* Estonian */
  71.     "fin",        "fi",        /* Finnish */
  72.     "finnish",        "fi",
  73.     "fra",        "fr",
  74.     "frb",        "fr",        /* French */
  75.     "frc",        "fr",
  76.     "french",        "fr",
  77.     "french-belgian",    "fr",
  78.     "french-canadian",    "fr",
  79.     "french-swiss",    "fr",
  80.     "hebrew",        "he",        /* Hebrew */
  81.     "croatian",        "hr",        /* Croatian */
  82.     "hun",        "hu",        /* Hungarian */
  83.     "hungarian",    "hu",
  84.     "icelandic",    "is",        /* Icelandic */
  85.     "isl",        "is",
  86.     "ita",        "it",        /* Italian */
  87.     "italian",        "it",
  88.     "italian-swiss",    "it",
  89.     "its",        "it",
  90.     "japanese",        "ja",        /* Japanese */
  91.     "jpn",        "ja",
  92.     "kor",        "ko",        /* Korean */
  93.     "korean",        "ko",
  94.     "lithuanian",    "lt",        /* Lithuanian */
  95.     "latvian",        "lv",        /* Latvian */
  96.     "macedonian",    "mk",        /* Macedonian */
  97.     "belgian",        "nl",        /* Dutch */
  98.     "dutch",        "nl",
  99.     "dutch-belgian",    "nl",
  100.     "nlb",        "nl",        /* English */
  101.     "nld",        "nl",
  102.     "non",        "no",        /* Norwegian */
  103.     "nor",        "no",
  104.     "norwegian",    "no",
  105.     "norwegian-bokmal",    "no",
  106.     "norwegian-nynorsk","no",
  107.     "plk",        "pl",        /* Polish */
  108.     "polish",        "pl",
  109.     "portuguese",    "pt",        /* Portuguese */
  110.     "portuguese-brazilian","pt",
  111.     "ptb",        "pt",
  112.     "ptg",        "pt",
  113.     "romanian",        "ro",        /* Romanian */
  114.     "rus",        "ru",        /* Russian */
  115.     "russian",        "ru",
  116.     "sky",        "sk",        /* Slovak */
  117.     "slovak",        "sk",
  118.     "slovene",        "sl",        /* Slovene */
  119.     "albanian",        "sq",        /* Albanian */
  120.     "serbian",        "sr",        /* Serbian */
  121.     "sve",        "sv",        /* Swedish */
  122.     "swedish",        "sv",
  123.     "trk",        "tr",
  124.     "turkish",        "tr",        /* Turkish */
  125.     "chinese",        "zh",        /* Chinese */
  126.     "chinese(prc)",    "zh",
  127.     "chinese(taiwan)",    "zh",
  128.     "chinese-simplified","zh",
  129.     "chinese-traditional","zh",
  130.     "chs",        "zh",
  131.     "cht",        "zh",
  132.     "",
  133. };
  134.  
  135. /*
  136.  * Windows country string to ISO3166 two characters string mapping table
  137.  */
  138. static char *region_names[] = {
  139.     "austria", "AT",        /* Austria */
  140.     "aus", "AU",        /* Australia */
  141.     "australia", "AU",
  142.     "bel", "BE",        /* Belgium */
  143.     "belgium", "BE",
  144.     "bra", "BR",        /* Brazil */
  145.     "brazil", "BR",        
  146.     "can", "CA",        /* Canada */
  147.     "canada", "CA",
  148.     "cze", "CZ",        /* Czech Republic */
  149.     "czech", "CZ",
  150.     "denmark", "DK",        /* Denmark */
  151.     "dnk", "DK",
  152.     "fin", "FI",        /* Finland */
  153.     "finland", "FI",
  154.     "fra", "FR",        /* France */
  155.     "france", "FR",
  156.     "deu", "DE",        /* Germany */
  157.     "germany", "DE",
  158.     "grc", "GR",        /* Greece */
  159.     "greece", "GR",
  160.     "hkg", "HK",        /* Hong Kong */
  161.     "hong kong", "HK",
  162.     "hong-kong", "HK",
  163.     "hun", "HU",        /* Hungary */
  164.     "hungary", "HU",
  165.     "iceland", "IS",        /* Iceland */
  166.     "isl", "IS",
  167.     "ireland", "IE",        /* Ireland */
  168.     "irl", "IE",
  169.     "ita", "IT",        /* Italy */
  170.     "italy", "IT",
  171.     "japan", "JP",        /* Japan */
  172.     "jpn", "JP",
  173.     "mex", "MX",        /* Mexico */
  174.     "mexico", "MX",
  175.     "nld", "NL",        /* Netherlands */
  176.     "holland", "NL",
  177.     "netherlands", "NL",
  178.     "new zealand", "NZ",    /* New Zealand */
  179.     "new-zealand", "NZ",
  180.     "nz", "NZ",
  181.     "nzl", "NZ",
  182.     "nor", "NO",        /* Norway */
  183.     "norway", "NO",
  184.     "china", "CN",        /* People's Republic of China */
  185.     "chn", "CN",
  186.     "pr china", "CN",
  187.     "pr-china", "CN",
  188.     "people's republic of china", "CN",
  189.     "pol", "PL",        /* Poland */
  190.     "poland", "PL",
  191.     "prt", "PT",
  192.     "portugal", "PT",
  193.     "rus", "RU",        /* Russia */
  194.     "russia", "RU",
  195.     "sgp", "SG",        /* Singapore */
  196.     "singapore", "SG",
  197.     "svk", "SK",        /* Slovak Republic */
  198.     "slovak", "SK",
  199.     "kor", "KO",        /* South Korea */
  200.     "korea", "KO",
  201.     "south korea", "KO",
  202.     "south-korea", "KO",
  203.     "esp", "ES",        /* Spain */
  204.     "spain", "ES",
  205.     "swe", "SE",        /* Sweden */
  206.     "sweden", "SE",
  207.     "che", "CH",        /* Switzerland */
  208.     "switzerland", "CH",
  209.     "taiwan", "TW",        /* Taiwan */
  210.     "twn", "TW",
  211.     "tur", "TR",        /* Turkey */
  212.     "turkey", "TR",
  213.     "britain", "GB",        /* United Kingdom */
  214.     "england", "GB",
  215.     "gbr", "GB",
  216.     "great britain", "GB",
  217.     "uk", "GB",
  218.     "united kingdom", "GB",
  219.     "united-kingdom", "GB",
  220.     "america", "US",        /* United States of America */
  221.     "united states", "US",
  222.     "united-states", "US",
  223.     "us", "US",
  224.     "usa", "US",
  225.     "",
  226. };
  227.  
  228. /*
  229.  * Windows locale string to Encoding converter 
  230.  * default file.encoding is "8859_1".
  231.  */
  232. static char *encoding_names[] = {
  233.     "ar", "Cp1256",
  234.     "be", "Cp1251",
  235.     "bg", "Cp1251",
  236.     "cs", "Cp1250",
  237.     "el", "Cp1253",
  238.     "et", "Cp1257",
  239.     "he", "Cp1255",
  240.     "hu", "Cp1250",
  241.     "ja", "SJIS",
  242.     "ko", "KSC5601",
  243.     "lt", "Cp1257",
  244.     "lv", "Cp1257",
  245.     "mk", "Cp1251",
  246.     "pl", "Cp1250",
  247.     "ro", "Cp1250",
  248.     "ru", "Cp1251",
  249.     "sh", "Cp1250",
  250.     "sk", "Cp1250",
  251.     "sl", "Cp1250",
  252.     "sq", "Cp1250",
  253.     "sr", "Cp1251",
  254.     "tr", "Cp1254",
  255.     "uk", "Cp1251",
  256.     "zh", "GB2312",
  257.     "zh_TW", "Big5",
  258.     "",
  259. };
  260.  
  261. /*
  262.  * Windows long TimeZone string to
  263.  * three characters representation table.
  264.  */
  265. static char *timezone_names[] = {
  266.     "GMT Standard Time",         "GMT",
  267.     "Romance Standard Time",         "ECT",
  268.     "Egypt Standard Time",         "EET",
  269.     "Saudi Arabia Standard Time",     "EAT",
  270.     "Iran Standard Time",         "MET",
  271.     "Arabian Standard Time",         "NET",
  272.     "West Asia Standard Time",         "PLT",
  273.     "India Standard Time",         "IST",
  274.     "Central Asia Standard Time",     "BST",
  275.     "Bangkok Standard Time",         "VST",
  276.     "China Standard Time",         "CTT",
  277.     "Tokyo Standard Time",         "JST",
  278.     "Cen. Australia Standard Time",     "ACT",
  279.     "Sydney Standard Time",         "AET",
  280.     "Central Pacific Standard Time",     "SST",
  281.     "New Zealand Standard Time",     "NST",
  282.     "Samoa Standard Time",         "MIT",
  283.     "Hawaiian Standard Time",         "HST",
  284.     "Alaskan Standard Time",         "AST",
  285.     "Pacific Standard Time",         "PST",
  286.     "US Mountain Standard Time",     "MST",
  287.     "Central Standard Time",         "CST",
  288.     "Eastern Standard Time",         "EST",
  289.     "Atlantic Standard Time",         "PRT",
  290.     "Newfoundland Standard Time",     "CNT",
  291.     "SA Eastern Standard Time",     "AGT",
  292.     "E. South America Standard Time",     "BET",
  293.     "Azores Standard Time",         "CAT",
  294.     "",
  295. };
  296.  
  297.