1 /****************************************************************************
2 **
3 ** Copyright (C) 2015 The Qt Company Ltd.
4 ** Contact: http://www.qt.io/licensing/
5 **
6 ** This file is part of the QtLocation module of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:LGPL3$
9 ** Commercial License Usage
10 ** Licensees holding valid commercial Qt licenses may use this file in
11 ** accordance with the commercial license agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and The Qt Company. For licensing terms
14 ** and conditions see http://www.qt.io/terms-conditions. For further
15 ** information use the contact form at http://www.qt.io/contact-us.
16 **
17 ** GNU Lesser General Public License Usage
18 ** Alternatively, this file may be used under the terms of the GNU Lesser
19 ** General Public License version 3 as published by the Free Software
20 ** Foundation and appearing in the file LICENSE.LGPLv3 included in the
21 ** packaging of this file. Please review the following information to
22 ** ensure the GNU Lesser General Public License version 3 requirements
23 ** will be met: https://www.gnu.org/licenses/lgpl.html.
24 **
25 ** GNU General Public License Usage
26 ** Alternatively, this file may be used under the terms of the GNU
27 ** General Public License version 2.0 or later as published by the Free
28 ** Software Foundation and appearing in the file LICENSE.GPL included in
29 ** the packaging of this file. Please review the following information to
30 ** ensure the GNU General Public License version 2.0 requirements will be
31 ** met: http://www.gnu.org/licenses/gpl-2.0.html.
32 **
33 ** $QT_END_LICENSE$
34 **
35 ****************************************************************************/
36 
37 #ifndef MARCLANGUAGECODES_H_
38 #define MARCLANGUAGECODES_H_
39 
40 // MARC language codes for GeoCoding service language/locale support
41 // http://www.loc.gov/marc/languages/language_code.html
42 // Order matches QLocale::Language
43 
44 QT_BEGIN_NAMESPACE
45 
46 static const unsigned char marc_language_code_list[] =
47     "\0\0\0" // Unused
48     "\0\0\0" // C
49     "abk" // Abkhazian
50     "\0\0\0" // Oromo
51     "aar" // Afar
52     "afr" // Afrikaans
53     "alb" // Albanian
54     "amh" // Amharic
55     "ara" // Arabic
56     "arm" // Armenian
57     "asm" // Assamese
58     "aym" // Aymara
59     "aze" // Azerbaijani
60     "bak" // Bashkir
61     "baq" // Basque
62     "ben" // Bengali
63     "\0\0\0" // Dzongkha
64     "bih" // Bihari
65     "bis" // Bislama
66     "bre" // Breton
67     "bul" // Bulgarian
68     "bur" // Burmese
69     "bel" // Belarusian
70     "khm" // Khmer
71     "cat" // Catalan
72     "chi" // Chinese
73     "cos" // Corsican
74     "hrv" // Croatian
75     "cze" // Czech
76     "dan" // Danish
77     "dut" // Dutch
78     "eng" // English
79     "epo" // Esperanto
80     "est" // Estonian
81     "fao" // Faroese
82     "fij" // Fijian
83     "fin" // Finnish
84     "fre" // French
85     "fry" // WesternFrisian
86     "gla" // Gaelic
87     "glg" // Galician
88     "geo" // Georgian
89     "ger" // German
90     "gre" // Greek
91     "\0\0\0" // Greenlandic
92     "grn" // Guarani
93     "guj" // Gujarati
94     "hau" // Hausa
95     "heb" // Hebrew
96     "hin" // Hindi
97     "hun" // Hungarian
98     "ice" // Icelandic
99     "ind" // Indonesian
100     "ina" // Interlingua
101     "ile" // Interlingue
102     "iku" // Inuktitut
103     "ipk" // Inupiak
104     "gle" // Irish
105     "ita" // Italian
106     "jpn" // Japanese
107     "jav" // Javanese
108     "kan" // Kannada
109     "kas" // Kashmiri
110     "kaz" // Kazakh
111     "kin" // Kinyarwanda
112     "kir" // Kirghiz
113     "kor" // Korean
114     "kur" // Kurdish
115     "\0\0\0" // Rundi
116     "lao" // Lao
117     "lat" // Latin
118     "lav" // Latvian
119     "lin" // Lingala
120     "lit" // Lithuanian
121     "mac" // Macedonian
122     "mlg" // Malagasy
123     "may" // Malay
124     "mal" // Malayalam
125     "mlt" // Maltese
126     "mao" // Maori
127     "mar" // Marathi
128     "mah" // Marshallese
129     "mon" // Mongolian
130     "nau" // NauruLanguage
131     "nep" // Nepali
132     "nor" // NorwegianBokmal
133     "oci" // Occitan
134     "ori" // Oriya
135     "\0\0\0" // Pashto
136     "per" // Persian
137     "pol" // Polish
138     "por" // Portuguese
139     "pan" // Punjabi
140     "que" // Quechua
141     "roh" // Romansh
142     "rum" // Romanian
143     "rus" // Russian
144     "smo" // Samoan
145     "sag" // Sango
146     "san" // Sanskrit
147     "srp" // Serbian
148     "oss" // Ossetic
149     "\0\0\0" // SouthernSotho
150     "\0\0\0" // Tswana
151     "sna" // Shona
152     "snd" // Sindhi
153     "\0\0\0" // Sinhala
154     "\0\0\0" // Swati
155     "slo" // Slovak
156     "slv" // Slovenian
157     "som" // Somali
158     "spa" // Spanish
159     "sun" // Sundanese
160     "swa" // Swahili
161     "swe" // Swedish
162     "srd" // Sardinian
163     "tgk" // Tajik
164     "tam" // Tamil
165     "tat" // Tatar
166     "tel" // Telugu
167     "tha" // Thai
168     "tib" // Tibetan
169     "tir" // Tigrinya
170     "tog" // Tongan
171     "tso" // Tsonga
172     "tur" // Turkish
173     "tuk" // Turkmen
174     "tah" // Tahitian
175     "uig" // Uigur
176     "ukr" // Ukrainian
177     "urd" // Urdu
178     "uzb" // Uzbek
179     "vie" // Vietnamese
180     "vol" // Volapuk
181     "wel" // Welsh
182     "wol" // Wolof
183     "xho" // Xhosa
184     "yid" // Yiddish
185     "yor" // Yoruba
186     "zha" // Zhuang
187     "zul" // Zulu
188     "nno" // NorwegianNynorsk
189     "bos" // Bosnian
190     "div" // Divehi
191     "glv" // Manx
192     "cor" // Cornish
193     "aka" // Akan
194     "kok" // Konkani
195     "gaa" // Ga
196     "ibo" // Igbo
197     "kam" // Kamba
198     "syc" // Syriac
199     "\0\0\0" // Blin
200     "\0\0\0" // Geez
201     "\0\0\0" // Koro
202     "sid" // Sidamo
203     "\0\0\0" // Atsam
204     "tig" // Tigre
205     "\0\0\0" // Jju
206     "fur" // Friulian
207     "ven" // Venda
208     "ewe" // Ewe
209     "\0\0\0" // Walamo
210     "haw" // Hawaiian
211     "\0\0\0" // Tyap
212     "\0\0\0" // Nyanja
213     "fil" // Filipino
214     "gsw" // SwissGerman
215     "iii" // SichuanYi
216     "kpe" // Kpelle
217     "nds" // LowGerman
218     "nbl" // SouthNdebele
219     "nso" // NorthernSotho
220     "sme" // NorthernSami
221     "\0\0\0" // Taroko
222     "\0\0\0" // Gusii
223     "\0\0\0" // Taita
224     "ful" // Fulah
225     "kik" // Kikuyu
226     "\0\0\0" // Samburu
227     "\0\0\0" // Sena
228     "nde" // NorthNdebele
229     "\0\0\0" // Rombo
230     "\0\0\0" // Tachelhit
231     "kab" // Kabyle
232     "nyn" // Nyankole
233     "\0\0\0" // Bena
234     "\0\0\0" // Vunjo
235     "bam" // Bambara
236     "\0\0\0" // Embu
237     "chr" // Cherokee
238     "\0\0\0" // Morisyen
239     "\0\0\0" // Makonde
240     "\0\0\0" // Langi
241     "lug" // Ganda
242     "bem" // Bemba
243     "\0\0\0" // Kabuverdianu
244     "\0\0\0" // Meru
245     "\0\0\0" // Kalenjin
246     "\0\0\0" // Nama
247     "\0\0\0" // Machame
248     "\0\0\0" // Colognian
249     "mas" // Masai
250     "\0\0\0" // Soga
251     "\0\0\0" // Luyia
252     "\0\0\0" // Asu
253     "\0\0\0" // Teso
254     "\0\0\0" // Saho
255     "\0\0\0" // KoyraChiini
256     "\0\0\0" // Rwa
257     "luo" // Luo
258     "\0\0\0" // Chiga
259     "\0\0\0" // CentralMoroccoTamazight
260     "\0\0\0" // KoyraboroSenni
261     "\0\0\0" // Shambala
262     "\0\0\0" // Bodo
263     "ava" // Avaric
264     "cha" // Chamorro
265     "che" // Chechen
266     "chu" // Church
267     "chv" // Chuvash
268     "cre" // Cree
269     "hat" // Haitian
270     "her" // Herero
271     "hmo" // HiriMotu
272     "kau" // Kanuri
273     "kom" // Komi
274     "kon" // Kongo
275     "\0\0\0" // Kwanyama
276     "lim" // Limburgish
277     "lub" // LubaKatanga
278     "ltz" // Luxembourgish
279     "\0\0\0" // Navaho
280     "ndo" // Ndonga
281     "oji" // Ojibwa
282     "pli" // Pali
283     "wln" // Walloon
284     "\0\0\0" // Aghem
285     "bas" // Basaa
286     "\0\0\0" // Zarma
287     "dua" // Duala
288     "\0\0\0" // JolaFonyi
289     "ewo" // Ewondo
290     "\0\0\0" // Bafia
291     "\0\0\0" // MakhuwaMeetto
292     "\0\0\0" // Mundang
293     "\0\0\0" // Kwasio
294     "\0\0\0" // Nuer
295     "\0\0\0" // Sakha
296     "\0\0\0" // Sangu
297     "\0\0\0" // CongoSwahili
298     "\0\0\0" // Tasawaq
299     "vai" // Vai
300     "\0\0\0" // Walser
301     "\0\0\0" // Yangben
302     "ave" // Avestan
303     "\0\0\0" // Asturian
304     "\0\0\0" // Ngomba
305     "\0\0\0" // Kako
306     "\0\0\0" // Meta
307     "\0\0\0" // Ngiemboon
308     ;
309 
310 QT_END_NAMESPACE
311 
312 #endif /* MARCLANGUAGECODES_H_ */
313