OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (C) 1997-2014, International Business Machines | 3 * Copyright (C) 1997-2015, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 * | 6 * |
7 * File ULOC.CPP | 7 * File ULOC.CPP |
8 * | 8 * |
9 * Modification History: | 9 * Modification History: |
10 * | 10 * |
11 * Date Name Description | 11 * Date Name Description |
12 * 04/01/97 aliu Creation. | 12 * 04/01/97 aliu Creation. |
13 * 08/21/98 stephen JDK 1.2 sync | 13 * 08/21/98 stephen JDK 1.2 sync |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 * is compatible with prior ICU codes | 85 * is compatible with prior ICU codes |
86 * | 86 * |
87 * "in" "iw" "ji" "jw" & "sh" have been withdrawn but are still in the | 87 * "in" "iw" "ji" "jw" & "sh" have been withdrawn but are still in the |
88 * table but now at the end of the table because 3 character codes are | 88 * table but now at the end of the table because 3 character codes are |
89 * duplicates. This avoids bad searches going from 3 to 2 character | 89 * duplicates. This avoids bad searches going from 3 to 2 character |
90 * codes. | 90 * codes. |
91 * | 91 * |
92 * The range qaa-qtz is reserved for local use | 92 * The range qaa-qtz is reserved for local use |
93 */ | 93 */ |
94 /* Generated using org.unicode.cldr.icu.GenerateISO639LanguageTables */ | 94 /* Generated using org.unicode.cldr.icu.GenerateISO639LanguageTables */ |
95 /* ISO639 table version is 20130531 */ | 95 /* ISO639 table version is 20150505 */ |
96 static const char * const LANGUAGES[] = { | 96 static const char * const LANGUAGES[] = { |
97 "aa", "ab", "ace", "ach", "ada", "ady", "ae", "af", | 97 "aa", "ab", "ace", "ach", "ada", "ady", "ae", "aeb", |
98 "afa", "afh", "agq", "ain", "ak", "akk", "ale", "alg", | 98 "af", "afh", "agq", "ain", "ak", "akk", "akz", "ale", |
99 "alt", "am", "an", "ang", "anp", "apa", "ar", "arc", | 99 "aln", "alt", "am", "an", "ang", "anp", "ar", "arc", |
100 "arn", "arp", "art", "arw", "as", "asa", "ast", "ath", | 100 "arn", "aro", "arp", "arq", "arw", "ary", "arz", "as", |
101 "aus", "av", "awa", "ay", "az", | 101 "asa", "ase", "ast", "av", "avk", "awa", "ay", "az", |
102 "ba", "bad", "bai", "bal", "ban", "bas", "bat", "bax", | 102 "ba", "bal", "ban", "bar", "bas", "bax", "bbc", "bbj", |
103 "bbj", "be", "bej", "bem", "ber", "bez", "bfd", "bg", | 103 "be", "bej", "bem", "bew", "bez", "bfd", "bfq", "bg", |
104 "bh", "bho", "bi", "bik", "bin", "bkm", "bla", "bm", | 104 "bgn", "bho", "bi", "bik", "bin", "bjn", "bkm", "bla", |
105 "bn", "bnt", "bo", "br", "bra", "brx", "bs", "bss", | 105 "bm", "bn", "bo", "bpy", "bqi", "br", "bra", "brh", |
106 "btk", "bua", "bug", "bum", "byn", "byv", | 106 "brx", "bs", "bss", "bua", "bug", "bum", "byn", "byv", |
107 "ca", "cad", "cai", "car", "cau", "cay", "cch", "ce", | 107 "ca", "cad", "car", "cay", "cch", "ce", "ceb", "cgg", |
108 "ceb", "cel", "cgg", "ch", "chb", "chg", "chk", "chm", | 108 "ch", "chb", "chg", "chk", "chm", "chn", "cho", "chp", |
109 "chn", "cho", "chp", "chr", "chy", "ckb", "cmc", "co", | 109 "chr", "chy", "ckb", "co", "cop", "cps", "cr", "crh", |
110 "cop", "cpe", "cpf", "cpp", "cr", "crh", "crp", "cs", | 110 "cs", "csb", "cu", "cv", "cy", |
111 "csb", "cu", "cus", "cv", "cy", | 111 "da", "dak", "dar", "dav", "de", "del", "den", "dgr", |
112 "da", "dak", "dar", "dav", "day", "de", "del", "den", | 112 "din", "dje", "doi", "dsb", "dtp", "dua", "dum", "dv", |
113 "dgr", "din", "dje", "doi", "dra", "dsb", "dua", "dum", | 113 "dyo", "dyu", "dz", "dzg", |
114 "dv", "dyo", "dyu", "dz", "dzg", | 114 "ebu", "ee", "efi", "egl", "egy", "eka", "el", "elx", |
115 "ebu", "ee", "efi", "egy", "eka", "el", "elx", "en", | 115 "en", "enm", "eo", "es", "esu", "et", "eu", "ewo", |
116 "enm", "eo", "es", "et", "eu", "ewo", | 116 "ext", |
117 "fa", "fan", "fat", "ff", "fi", "fil", "fiu", "fj", | 117 "fa", "fan", "fat", "ff", "fi", "fil", "fit", "fj", |
118 "fo", "fon", "fr", "frm", "fro", "frr", "frs", "fur", | 118 "fo", "fon", "fr", "frc", "frm", "fro", "frp", "frr", |
119 "fy", | 119 "frs", "fur", "fy", |
120 "ga", "gaa", "gay", "gba", "gd", "gem", "gez", "gil", | 120 "ga", "gaa", "gag", "gan", "gay", "gba", "gbz", "gd", |
121 "gl", "gmh", "gn", "goh", "gon", "gor", "got", "grb", | 121 "gez", "gil", "gl", "glk", "gmh", "gn", "goh", "gom", |
122 "grc", "gsw", "gu", "guz", "gv", "gwi", | 122 "gon", "gor", "got", "grb", "grc", "gsw", "gu", "guc", |
123 "ha", "hai", "haw", "he", "hi", "hil", "him", "hit", | 123 "gur", "guz", "gv", "gwi", |
124 "hmn", "ho", "hr", "hsb", "ht", "hu", "hup", "hy", | 124 "ha", "hai", "hak", "haw", "he", "hi", "hif", "hil", |
125 "hz", | 125 "hit", "hmn", "ho", "hr", "hsb", "hsn", "ht", "hu", |
126 "ia", "iba", "ibb", "id", "ie", "ig", "ii", "ijo", | 126 "hup", "hy", "hz", |
127 "ik", "ilo", "inc", "ine", "inh", "io", "ira", "iro", | 127 "ia", "iba", "ibb", "id", "ie", "ig", "ii", "ik", |
128 "is", "it", "iu", | 128 "ilo", "inh", "io", "is", "it", "iu", "izh", |
129 "ja", "jbo", "jgo", "jmc", "jpr", "jrb", "jv", | 129 "ja", "jam", "jbo", "jgo", "jmc", "jpr", "jrb", "jut", |
130 "ka", "kaa", "kab", "kac", "kaj", "kam", "kar", "kaw", | 130 "jv", |
131 "kbd", "kbl", "kcg", "kde", "kea", "kfo", "kg", "kha", | 131 "ka", "kaa", "kab", "kac", "kaj", "kam", "kaw", "kbd", |
132 "khi", "kho", "khq", "ki", "kj", "kk", "kkj", "kl", | 132 "kbl", "kcg", "kde", "kea", "ken", "kfo", "kg", "kgp", |
133 "kln", "km", "kmb", "kn", "ko", "kok", "kos", "kpe", | 133 "kha", "kho", "khq", "khw", "ki", "kiu", "kj", "kk", |
134 "kr", "krc", "krl", "kro", "kru", "ks", "ksb", "ksf", | 134 "kkj", "kl", "kln", "km", "kmb", "kn", "ko", "koi", |
135 "ksh", "ku", "kum", "kut", "kv", "kw", "ky", | 135 "kok", "kos", "kpe", "kr", "krc", "kri", "krj", "krl", |
136 "la", "lad", "lag", "lah", "lam", "lb", "lez", "lg", | 136 "kru", "ks", "ksb", "ksf", "ksh", "ku", "kum", "kut", |
137 "li", "lkt", "ln", "lo", "lol", "loz", "lt", "lu", | 137 "kv", "kw", "ky", |
138 "lua", "lui", "lun", "luo", "lus", "luy", "lv", | 138 "la", "lad", "lag", "lah", "lam", "lb", "lez", "lfn", |
139 "mad", "maf", "mag", "mai", "mak", "man", "map", "mas", | 139 "lg", "li", "lij", "liv", "lkt", "lmo", "ln", "lo", |
140 "mde", "mdf", "mdr", "men", "mer", "mfe", "mg", "mga", | 140 "lol", "loz", "lrc", "lt", "ltg", "lu", "lua", "lui", |
| 141 "lun", "luo", "lus", "luy", "lv", "lzh", "lzz", |
| 142 "mad", "maf", "mag", "mai", "mak", "man", "mas", "mde", |
| 143 "mdf", "mdh", "mdr", "men", "mer", "mfe", "mg", "mga", |
141 "mgh", "mgo", "mh", "mi", "mic", "min", "mis", "mk", | 144 "mgh", "mgo", "mh", "mi", "mic", "min", "mis", "mk", |
142 "mkh", "ml", "mn", "mnc", "mni", "mno", "mo", "moh", | 145 "ml", "mn", "mnc", "mni", "moh", "mos", "mr", "mrj", |
143 "mos", "mr", "ms", "mt", "mua", "mul", "mun", "mus", | 146 "ms", "mt", "mua", "mul", "mus", "mwl", "mwr", "mwv", |
144 "mwl", "mwr", "my", "mye", "myn", "myv", | 147 "my", "mye", "myv", "mzn", |
145 "na", "nah", "nai", "nap", "naq", "nb", "nd", "nds", | 148 "na", "nan", "nap", "naq", "nb", "nd", "nds", "ne", |
146 "ne", "new", "ng", "nia", "nic", "niu", "nl", "nmg", | 149 "new", "ng", "nia", "niu", "njo", "nl", "nmg", "nn", |
147 "nn", "nnh", "no", "nog", "non", "nqo", "nr", "nso", | 150 "nnh", "no", "nog", "non", "nov", "nqo", "nr", "nso", |
148 "nub", "nus", "nv", "nwc", "ny", "nym", "nyn", "nyo", | 151 "nus", "nv", "nwc", "ny", "nym", "nyn", "nyo", "nzi", |
149 "nzi", | 152 "oc", "oj", "om", "or", "os", "osa", "ota", |
150 "oc", "oj", "om", "or", "os", "osa", "ota", "oto", | 153 "pa", "pag", "pal", "pam", "pap", "pau", "pcd", "pdc", |
151 "pa", "paa", "pag", "pal", "pam", "pap", "pau", "peo", | 154 "pdt", "peo", "pfl", "phn", "pi", "pl", "pms", "pnt", |
152 "phi", "phn", "pi", "pl", "pon", "pra", "pro", "ps", | 155 "pon", "prg", "pro", "ps", "pt", |
153 "pt", | 156 "qu", "quc", "qug", |
154 "qu", | 157 "raj", "rap", "rar", "rgn", "rif", "rm", "rn", "ro", |
155 "raj", "rap", "rar", "rm", "rn", "ro", "roa", "rof", | 158 "rof", "rom", "rtm", "ru", "rue", "rug", "rup", |
156 "rom", "ru", "rup", "rw", "rwk", | 159 "rw", "rwk", |
157 "sa", "sad", "sah", "sai", "sal", "sam", "saq", "sas", | 160 "sa", "sad", "sah", "sam", "saq", "sas", "sat", "saz", |
158 "sat", "sba", "sbp", "sc", "scn", "sco", "sd", "se", | 161 "sba", "sbp", "sc", "scn", "sco", "sd", "sdc", "sdh", |
159 "see", "seh", "sel", "sem", "ses", "sg", "sga", "sgn", | 162 "se", "see", "seh", "sei", "sel", "ses", "sg", "sga", |
160 "shi", "shn", "shu", "si", "sid", "sio", "sit", | 163 "sgs", "shi", "shn", "shu", "si", "sid", "sk", |
161 "sk", "sl", "sla", "sm", "sma", "smi", "smj", "smn", | 164 "sl", "sli", "sly", "sm", "sma", "smj", "smn", "sms", |
162 "sms", "sn", "snk", "so", "sog", "son", "sq", "sr", | 165 "sn", "snk", "so", "sog", "sq", "sr", "srn", "srr", |
163 "srn", "srr", "ss", "ssa", "ssy", "st", "su", "suk", | 166 "ss", "ssy", "st", "stq", "su", "suk", "sus", "sux", |
164 "sus", "sux", "sv", "sw", "swb", "swc", "syc", "syr", | 167 "sv", "sw", "swb", "swc", "syc", "syr", "szl", |
165 "ta", "tai", "te", "tem", "teo", "ter", "tet", "tg", | 168 "ta", "tcy", "te", "tem", "teo", "ter", "tet", "tg", |
166 "th", "ti", "tig", "tiv", "tk", "tkl", "tl", "tlh", | 169 "th", "ti", "tig", "tiv", "tk", "tkl", "tkr", "tl", |
167 "tli", "tmh", "tn", "to", "tog", "tpi", "tr", "trv", | 170 "tlh", "tli", "tly", "tmh", "tn", "to", "tog", "tpi", |
168 "ts", "tsi", "tt", "tum", "tup", "tut", "tvl", "tw", | 171 "tr", "tru", "trv", "ts", "tsd", "tsi", "tt", "ttt", |
169 "twq", "ty", "tyv", "tzm", | 172 "tum", "tvl", "tw", "twq", "ty", "tyv", "tzm", |
170 "udm", "ug", "uga", "uk", "umb", "und", "ur", "uz", | 173 "udm", "ug", "uga", "uk", "umb", "und", "ur", "uz", |
171 "vai", "ve", "vi", "vo", "vot", "vun", | 174 "vai", "ve", "vec", "vep", "vi", "vls", "vmf", "vo", |
172 "wa", "wae", "wak", "wal", "war", "was", "wen", "wo", | 175 "vot", "vro", "vun", |
173 "xal", "xh", "xog", | 176 "wa", "wae", "wal", "war", "was", "wbp", "wo", "wuu", |
174 "yao", "yap", "yav", "ybb", "yi", "yo", "ypk", "yue", | 177 "xal", "xh", "xmf", "xog", |
175 "za", "zap", "zbl", "zen", "zgh", "zh", "znd", "zu", | 178 "yao", "yap", "yav", "ybb", "yi", "yo", "yrl", "yue", |
| 179 "za", "zap", "zbl", "zea", "zen", "zgh", "zh", "zu", |
176 "zun", "zxx", "zza", | 180 "zun", "zxx", "zza", |
177 NULL, | 181 NULL, |
178 "in", "iw", "ji", "jw", "sh", /* obsolete language codes */ | 182 "in", "iw", "ji", "jw", "sh", /* obsolete language codes */ |
179 NULL | 183 NULL |
180 }; | 184 }; |
181 | 185 |
182 static const char* const DEPRECATED_LANGUAGES[]={ | 186 static const char* const DEPRECATED_LANGUAGES[]={ |
183 "in", "iw", "ji", "jw", NULL, NULL | 187 "in", "iw", "ji", "jw", NULL, NULL |
184 }; | 188 }; |
185 static const char* const REPLACEMENT_LANGUAGES[]={ | 189 static const char* const REPLACEMENT_LANGUAGES[]={ |
(...skipping 10 matching lines...) Expand all Loading... |
196 * copied from LANGUAGES to make eyeballing this baby easier. | 200 * copied from LANGUAGES to make eyeballing this baby easier. |
197 * | 201 * |
198 * Where a 3-letter language code has no 2-letter equivalent, the | 202 * Where a 3-letter language code has no 2-letter equivalent, the |
199 * 3-letter code occupies both LANGUAGES[i] and LANGUAGES_3[i]. | 203 * 3-letter code occupies both LANGUAGES[i] and LANGUAGES_3[i]. |
200 * | 204 * |
201 * This table should be terminated with a NULL entry, followed by a | 205 * This table should be terminated with a NULL entry, followed by a |
202 * second list, and another NULL entry. The two lists correspond to | 206 * second list, and another NULL entry. The two lists correspond to |
203 * the two lists in LANGUAGES. | 207 * the two lists in LANGUAGES. |
204 */ | 208 */ |
205 /* Generated using org.unicode.cldr.icu.GenerateISO639LanguageTables */ | 209 /* Generated using org.unicode.cldr.icu.GenerateISO639LanguageTables */ |
206 /* ISO639 table version is 20130531 */ | 210 /* ISO639 table version is 20150505 */ |
207 static const char * const LANGUAGES_3[] = { | 211 static const char * const LANGUAGES_3[] = { |
208 "aar", "abk", "ace", "ach", "ada", "ady", "ave", "afr", | 212 "aar", "abk", "ace", "ach", "ada", "ady", "ave", "aeb", |
209 "afa", "afh", "agq", "ain", "aka", "akk", "ale", "alg", | 213 "afr", "afh", "agq", "ain", "aka", "akk", "akz", "ale", |
210 "alt", "amh", "arg", "ang", "anp", "apa", "ara", "arc", | 214 "aln", "alt", "amh", "arg", "ang", "anp", "ara", "arc", |
211 "arn", "arp", "art", "arw", "asm", "asa", "ast", "ath", | 215 "arn", "aro", "arp", "arq", "arw", "ary", "arz", "asm", |
212 "aus", "ava", "awa", "aym", "aze", | 216 "asa", "ase", "ast", "ava", "avk", "awa", "aym", "aze", |
213 "bak", "bad", "bai", "bal", "ban", "bas", "bat", "bax", | 217 "bak", "bal", "ban", "bar", "bas", "bax", "bbc", "bbj", |
214 "bbj", "bel", "bej", "bem", "ber", "bez", "bfd", "bul", | 218 "bel", "bej", "bem", "bew", "bez", "bfd", "bfq", "bul", |
215 "bih", "bho", "bis", "bik", "bin", "bkm", "bla", "bam", | 219 "bgn", "bho", "bis", "bik", "bin", "bjn", "bkm", "bla", |
216 "ben", "bnt", "bod", "bre", "bra", "brx", "bos", "bss", | 220 "bam", "ben", "bod", "bpy", "bqi", "bre", "bra", "brh", |
217 "btk", "bua", "bug", "bum", "byn", "byv", | 221 "brx", "bos", "bss", "bua", "bug", "bum", "byn", "byv", |
218 "cat", "cad", "cai", "car", "cau", "cay", "cch", "che", | 222 "cat", "cad", "car", "cay", "cch", "che", "ceb", "cgg", |
219 "ceb", "cel", "cgg", "cha", "chb", "chg", "chk", "chm", | 223 "cha", "chb", "chg", "chk", "chm", "chn", "cho", "chp", |
220 "chn", "cho", "chp", "chr", "chy", "ckb", "cmc", "cos", | 224 "chr", "chy", "ckb", "cos", "cop", "cps", "cre", "crh", |
221 "cop", "cpe", "cpf", "cpp", "cre", "crh", "crp", "ces", | 225 "ces", "csb", "chu", "chv", "cym", |
222 "csb", "chu", "cus", "chv", "cym", | 226 "dan", "dak", "dar", "dav", "deu", "del", "den", "dgr", |
223 "dan", "dak", "dar", "dav", "day", "deu", "del", "den", | 227 "din", "dje", "doi", "dsb", "dtp", "dua", "dum", "div", |
224 "dgr", "din", "dje", "doi", "dra", "dsb", "dua", "dum", | 228 "dyo", "dyu", "dzo", "dzg", |
225 "div", "dyo", "dyu", "dzo", "dzg", | 229 "ebu", "ewe", "efi", "egl", "egy", "eka", "ell", "elx", |
226 "ebu", "ewe", "efi", "egy", "eka", "ell", "elx", "eng", | 230 "eng", "enm", "epo", "spa", "esu", "est", "eus", "ewo", |
227 "enm", "epo", "spa", "est", "eus", "ewo", | 231 "ext", |
228 "fas", "fan", "fat", "ful", "fin", "fil", "fiu", "fij", | 232 "fas", "fan", "fat", "ful", "fin", "fil", "fit", "fij", |
229 "fao", "fon", "fra", "frm", "fro", "frr", "frs", "fur", | 233 "fao", "fon", "fra", "frc", "frm", "fro", "frp", "frr", |
230 "fry", | 234 "frs", "fur", "fry", |
231 "gle", "gaa", "gay", "gba", "gla", "gem", "gez", "gil", | 235 "gle", "gaa", "gag", "gan", "gay", "gba", "gbz", "gla", |
232 "glg", "gmh", "grn", "goh", "gon", "gor", "got", "grb", | 236 "gez", "gil", "glg", "glk", "gmh", "grn", "goh", "gom", |
233 "grc", "gsw", "guj", "guz", "glv", "gwi", | 237 "gon", "gor", "got", "grb", "grc", "gsw", "guj", "guc", |
234 "hau", "hai", "haw", "heb", "hin", "hil", "him", "hit", | 238 "gur", "guz", "glv", "gwi", |
235 "hmn", "hmo", "hrv", "hsb", "hat", "hun", "hup", "hye", | 239 "hau", "hai", "hak", "haw", "heb", "hin", "hif", "hil", |
236 "her", | 240 "hit", "hmn", "hmo", "hrv", "hsb", "hsn", "hat", "hun", |
237 "ina", "iba", "ibb", "ind", "ile", "ibo", "iii", "ijo", | 241 "hup", "hye", "her", |
238 "ipk", "ilo", "inc", "ine", "inh", "ido", "ira", "iro", | 242 "ina", "iba", "ibb", "ind", "ile", "ibo", "iii", "ipk", |
239 "isl", "ita", "iku", | 243 "ilo", "inh", "ido", "isl", "ita", "iku", "izh", |
240 "jpn", "jbo", "jgo", "jmc", "jpr", "jrb", "jav", | 244 "jpn", "jam", "jbo", "jgo", "jmc", "jpr", "jrb", "jut", |
241 "kat", "kaa", "kab", "kac", "kaj", "kam", "kar", "kaw", | 245 "jav", |
242 "kbd", "kbl", "kcg", "kde", "kea", "kfo", "kon", "kha", | 246 "kat", "kaa", "kab", "kac", "kaj", "kam", "kaw", "kbd", |
243 "khi", "kho", "khq", "kik", "kua", "kaz", "kkj", "kal", | 247 "kbl", "kcg", "kde", "kea", "ken", "kfo", "kon", "kgp", |
244 "kln", "khm", "kmb", "kan", "kor", "kok", "kos", "kpe", | 248 "kha", "kho", "khq", "khw", "kik", "kiu", "kua", "kaz", |
245 "kau", "krc", "krl", "kro", "kru", "kas", "ksb", "ksf", | 249 "kkj", "kal", "kln", "khm", "kmb", "kan", "kor", "koi", |
246 "ksh", "kur", "kum", "kut", "kom", "cor", "kir", | 250 "kok", "kos", "kpe", "kau", "krc", "kri", "krj", "krl", |
247 "lat", "lad", "lag", "lah", "lam", "ltz", "lez", "lug", | 251 "kru", "kas", "ksb", "ksf", "ksh", "kur", "kum", "kut", |
248 "lim", "lkt", "lin", "lao", "lol", "loz", "lit", "lub", | 252 "kom", "cor", "kir", |
249 "lua", "lui", "lun", "luo", "lus", "luy", "lav", | 253 "lat", "lad", "lag", "lah", "lam", "ltz", "lez", "lfn", |
250 "mad", "maf", "mag", "mai", "mak", "man", "map", "mas", | 254 "lug", "lim", "lij", "liv", "lkt", "lmo", "lin", "lao", |
251 "mde", "mdf", "mdr", "men", "mer", "mfe", "mlg", "mga", | 255 "lol", "loz", "lrc", "lit", "ltg", "lub", "lua", "lui", |
| 256 "lun", "luo", "lus", "luy", "lav", "lzh", "lzz", |
| 257 "mad", "maf", "mag", "mai", "mak", "man", "mas", "mde", |
| 258 "mdf", "mdh", "mdr", "men", "mer", "mfe", "mlg", "mga", |
252 "mgh", "mgo", "mah", "mri", "mic", "min", "mis", "mkd", | 259 "mgh", "mgo", "mah", "mri", "mic", "min", "mis", "mkd", |
253 "mkh", "mal", "mon", "mnc", "mni", "mno", "mol", "moh", | 260 "mal", "mon", "mnc", "mni", "moh", "mos", "mar", "mrj", |
254 "mos", "mar", "msa", "mlt", "mua", "mul", "mun", "mus", | 261 "msa", "mlt", "mua", "mul", "mus", "mwl", "mwr", "mwv", |
255 "mwl", "mwr", "mya", "mye", "myn", "myv", | 262 "mya", "mye", "myv", "mzn", |
256 "nau", "nah", "nai", "nap", "naq", "nob", "nde", "nds", | 263 "nau", "nan", "nap", "naq", "nob", "nde", "nds", "nep", |
257 "nep", "new", "ndo", "nia", "nic", "niu", "nld", "nmg", | 264 "new", "ndo", "nia", "niu", "njo", "nld", "nmg", "nno", |
258 "nno", "nnh", "nor", "nog", "non", "nqo", "nbl", "nso", | 265 "nnh", "nor", "nog", "non", "nov", "nqo", "nbl", "nso", |
259 "nub", "nus", "nav", "nwc", "nya", "nym", "nyn", "nyo", | 266 "nus", "nav", "nwc", "nya", "nym", "nyn", "nyo", "nzi", |
260 "nzi", | 267 "oci", "oji", "orm", "ori", "oss", "osa", "ota", |
261 "oci", "oji", "orm", "ori", "oss", "osa", "ota", "oto", | 268 "pan", "pag", "pal", "pam", "pap", "pau", "pcd", "pdc", |
262 "pan", "paa", "pag", "pal", "pam", "pap", "pau", "peo", | 269 "pdt", "peo", "pfl", "phn", "pli", "pol", "pms", "pnt", |
263 "phi", "phn", "pli", "pol", "pon", "pra", "pro", "pus", | 270 "pon", "prg", "pro", "pus", "por", |
264 "por", | 271 "que", "quc", "qug", |
265 "que", | 272 "raj", "rap", "rar", "rgn", "rif", "roh", "run", "ron", |
266 "raj", "rap", "rar", "roh", "run", "ron", "roa", "rof", | 273 "rof", "rom", "rtm", "rus", "rue", "rug", "rup", |
267 "rom", "rus", "rup", "kin", "rwk", | 274 "kin", "rwk", |
268 "san", "sad", "sah", "sai", "sal", "sam", "saq", "sas", | 275 "san", "sad", "sah", "sam", "saq", "sas", "sat", "saz", |
269 "sat", "sba", "sbp", "srd", "scn", "sco", "snd", "sme", | 276 "sba", "sbp", "srd", "scn", "sco", "snd", "sdc", "sdh", |
270 "see", "seh", "sel", "sem", "ses", "sag", "sga", "sgn", | 277 "sme", "see", "seh", "sei", "sel", "ses", "sag", "sga", |
271 "shi", "shn", "shu", "sin", "sid", "sio", "sit", | 278 "sgs", "shi", "shn", "shu", "sin", "sid", "slk", |
272 "slk", "slv", "sla", "smo", "sma", "smi", "smj", "smn", | 279 "slv", "sli", "sly", "smo", "sma", "smj", "smn", "sms", |
273 "sms", "sna", "snk", "som", "sog", "son", "sqi", "srp", | 280 "sna", "snk", "som", "sog", "sqi", "srp", "srn", "srr", |
274 "srn", "srr", "ssw", "ssa", "ssy", "sot", "sun", "suk", | 281 "ssw", "ssy", "sot", "stq", "sun", "suk", "sus", "sux", |
275 "sus", "sux", "swe", "swa", "swb", "swc", "syc", "syr", | 282 "swe", "swa", "swb", "swc", "syc", "syr", "szl", |
276 "tam", "tai", "tel", "tem", "teo", "ter", "tet", "tgk", | 283 "tam", "tcy", "tel", "tem", "teo", "ter", "tet", "tgk", |
277 "tha", "tir", "tig", "tiv", "tuk", "tkl", "tgl", "tlh", | 284 "tha", "tir", "tig", "tiv", "tuk", "tkl", "tkr", "tgl", |
278 "tli", "tmh", "tsn", "ton", "tog", "tpi", "tur", "trv", | 285 "tlh", "tli", "tly", "tmh", "tsn", "ton", "tog", "tpi", |
279 "tso", "tsi", "tat", "tum", "tup", "tut", "tvl", "twi", | 286 "tur", "tru", "trv", "tso", "tsd", "tsi", "tat", "ttt", |
280 "twq", "tah", "tyv", "tzm", | 287 "tum", "tvl", "twi", "twq", "tah", "tyv", "tzm", |
281 "udm", "uig", "uga", "ukr", "umb", "und", "urd", "uzb", | 288 "udm", "uig", "uga", "ukr", "umb", "und", "urd", "uzb", |
282 "vai", "ven", "vie", "vol", "vot", "vun", | 289 "vai", "ven", "vec", "vep", "vie", "vls", "vmf", "vol", |
283 "wln", "wae", "wak", "wal", "war", "was", "wen", "wol", | 290 "vot", "vro", "vun", |
284 "xal", "xho", "xog", | 291 "wln", "wae", "wal", "war", "was", "wbp", "wol", "wuu", |
285 "yao", "yap", "yav", "ybb", "yid", "yor", "ypk", "yue", | 292 "xal", "xho", "xmf", "xog", |
286 "zha", "zap", "zbl", "zen", "zgh", "zho", "znd", "zul", | 293 "yao", "yap", "yav", "ybb", "yid", "yor", "yrl", "yue", |
| 294 "zha", "zap", "zbl", "zea", "zen", "zgh", "zho", "zul", |
287 "zun", "zxx", "zza", | 295 "zun", "zxx", "zza", |
288 NULL, | 296 NULL, |
289 /* "in", "iw", "ji", "jw", "sh", */ | 297 /* "in", "iw", "ji", "jw", "sh", */ |
290 "ind", "heb", "yid", "jaw", "srp", | 298 "ind", "heb", "yid", "jaw", "srp", |
291 NULL | 299 NULL |
292 }; | 300 }; |
293 | 301 |
294 /** | 302 /** |
295 * Table of 2-letter country codes. | 303 * Table of 2-letter country codes. |
296 * | 304 * |
(...skipping 2321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2618 // IDs. For now, we assume a valid type start with [0-9a-zA-Z], but may
contain | 2626 // IDs. For now, we assume a valid type start with [0-9a-zA-Z], but may
contain |
2619 // '-' '_' '/' in the middle. | 2627 // '-' '_' '/' in the middle. |
2620 if (isWellFormedLegacyType(value)) { | 2628 if (isWellFormedLegacyType(value)) { |
2621 return value; | 2629 return value; |
2622 } | 2630 } |
2623 } | 2631 } |
2624 return legacyType; | 2632 return legacyType; |
2625 } | 2633 } |
2626 | 2634 |
2627 /*eof*/ | 2635 /*eof*/ |
OLD | NEW |