0N/A/*
3261N/A * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/A/*
0N/A * Mappings from partial locale names to full locale names
0N/A */
0N/A static char *locale_aliases[] = {
0N/A "ar", "ar_EG",
0N/A "be", "be_BY",
0N/A "bg", "bg_BG",
0N/A "br", "br_FR",
0N/A "ca", "ca_ES",
0N/A "cs", "cs_CZ",
0N/A "cz", "cs_CZ",
0N/A "da", "da_DK",
0N/A "de", "de_DE",
0N/A "el", "el_GR",
0N/A "en", "en_US",
0N/A "eo", "eo", /* no country for Esperanto */
0N/A "es", "es_ES",
0N/A "et", "et_EE",
0N/A "eu", "eu_ES",
0N/A "fi", "fi_FI",
0N/A "fr", "fr_FR",
0N/A "ga", "ga_IE",
0N/A "gl", "gl_ES",
0N/A "he", "iw_IL",
0N/A "hr", "hr_HR",
0N/A#ifdef __linux__
0N/A "hs", "en_US", // used on Linux, not clear what it stands for
0N/A#endif
0N/A "hu", "hu_HU",
0N/A "id", "in_ID",
0N/A "in", "in_ID",
0N/A "is", "is_IS",
0N/A "it", "it_IT",
0N/A "iw", "iw_IL",
0N/A "ja", "ja_JP",
0N/A "kl", "kl_GL",
0N/A "ko", "ko_KR",
0N/A "lt", "lt_LT",
0N/A "lv", "lv_LV",
0N/A "mk", "mk_MK",
0N/A "nl", "nl_NL",
0N/A "no", "no_NO",
0N/A "pl", "pl_PL",
0N/A "pt", "pt_PT",
0N/A "ro", "ro_RO",
0N/A "ru", "ru_RU",
0N/A "se", "se_NO",
0N/A "sk", "sk_SK",
0N/A "sl", "sl_SI",
0N/A "sq", "sq_AL",
0N/A "sr", "sr_CS",
0N/A "su", "fi_FI",
0N/A "sv", "sv_SE",
0N/A "th", "th_TH",
0N/A "tr", "tr_TR",
0N/A#ifdef __linux__
0N/A "ua", "en_US", // used on Linux, not clear what it stands for
0N/A#endif
0N/A "uk", "uk_UA",
0N/A "vi", "vi_VN",
0N/A "wa", "wa_BE",
0N/A "zh", "zh_CN",
0N/A#ifdef __linux__
2976N/A "bokmal", "nb_NO",
3082N/A "bokm\xE5l", "nb_NO",
0N/A "catalan", "ca_ES",
0N/A "croatian", "hr_HR",
0N/A "czech", "cs_CZ",
0N/A "danish", "da_DK",
0N/A "dansk", "da_DK",
0N/A "deutsch", "de_DE",
0N/A "dutch", "nl_NL",
2976N/A "eesti", "et_EE",
2976N/A "estonian", "et_EE",
0N/A "finnish", "fi_FI",
0N/A "fran\xE7\x61is", "fr_FR",
0N/A "french", "fr_FR",
2976N/A "galego", "gl_ES",
2976N/A "galician", "gl_ES",
0N/A "german", "de_DE",
0N/A "greek", "el_GR",
0N/A "hebrew", "iw_IL",
0N/A "hrvatski", "hr_HR",
0N/A "hungarian", "hu_HU",
0N/A "icelandic", "is_IS",
0N/A "italian", "it_IT",
0N/A "japanese", "ja_JP",
2976N/A "korean", "ko_KR",
2976N/A "lithuanian", "lt_LT",
0N/A "norwegian", "no_NO",
2976N/A "nynorsk", "nn_NO",
0N/A "polish", "pl_PL",
0N/A "portuguese", "pt_PT",
0N/A "romanian", "ro_RO",
0N/A "russian", "ru_RU",
0N/A "slovak", "sk_SK",
0N/A "slovene", "sl_SI",
0N/A "slovenian", "sl_SI",
0N/A "spanish", "es_ES",
0N/A "swedish", "sv_SE",
2976N/A "thai", "th_TH",
0N/A "turkish", "tr_TR",
0N/A#else
0N/A "big5", "zh_TW.Big5",
0N/A "chinese", "zh_CN",
2976N/A "iso_8859_1", "en_US.ISO8859-1",
2976N/A "iso_8859_15", "en_US.ISO8859-15",
0N/A "japanese", "ja_JP",
2976N/A "no_NY", "no_NO@nynorsk",
2976N/A "sr_SP", "sr_YU",
0N/A "tchinese", "zh_TW",
0N/A#endif
0N/A ""
0N/A };
0N/A
0N/A/*
0N/A * Linux/Solaris language string to ISO639 string mapping table.
0N/A */
0N/Astatic char *language_names[] = {
0N/A "C", "en",
0N/A "POSIX", "en",
0N/A "cz", "cs",
0N/A "he", "iw",
0N/A#ifdef __linux__
0N/A "hs", "en", // used on Linux, not clear what it stands for
0N/A#endif
0N/A "id", "in",
0N/A "sh", "sr", // sh is deprecated
0N/A "su", "fi",
0N/A#ifdef __linux__
0N/A "ua", "en", // used on Linux, not clear what it stands for
0N/A "catalan", "ca",
0N/A "croatian", "hr",
0N/A "czech", "cs",
0N/A "danish", "da",
0N/A "dansk", "da",
0N/A "deutsch", "de",
0N/A "dutch", "nl",
0N/A "finnish", "fi",
0N/A "fran\xE7\x61is", "fr",
0N/A "french", "fr",
0N/A "german", "de",
0N/A "greek", "el",
0N/A "hebrew", "he",
0N/A "hrvatski", "hr",
0N/A "hungarian", "hu",
0N/A "icelandic", "is",
0N/A "italian", "it",
0N/A "japanese", "ja",
0N/A "norwegian", "no",
0N/A "polish", "pl",
0N/A "portuguese", "pt",
0N/A "romanian", "ro",
0N/A "russian", "ru",
0N/A "slovak", "sk",
0N/A "slovene", "sl",
0N/A "slovenian", "sl",
0N/A "spanish", "es",
0N/A "swedish", "sv",
0N/A "turkish", "tr",
0N/A#else
0N/A "chinese", "zh",
0N/A "japanese", "ja",
0N/A "korean", "ko",
0N/A#endif
2976N/A "",
2976N/A};
2976N/A
2976N/A/*
2976N/A * Linux/Solaris script string to Java script name mapping table.
2976N/A */
2976N/Astatic char *script_names[] = {
2976N/A#ifdef __linux__
2976N/A "cyrillic", "Cyrl",
2976N/A "devanagari", "Deva",
2976N/A "iqtelif", "Latn",
2976N/A "latin", "Latn",
2976N/A#endif
0N/A "",
0N/A};
0N/A
0N/A/*
0N/A * Linux/Solaris country string to ISO3166 string mapping table.
0N/A */
0N/Astatic char *country_names[] = {
0N/A#ifdef __linux__
0N/A "RN", "US", // used on Linux, not clear what it stands for
0N/A#endif
0N/A "YU", "CS", // YU has been removed from ISO 3166
0N/A "",
0N/A};
0N/A
0N/A/*
0N/A * Linux/Solaris variant string to Java variant name mapping table.
0N/A */
0N/Astatic char *variant_names[] = {
0N/A "nynorsk", "NY",
0N/A "",
0N/A};