locale.h
Go to the documentation of this file.
1 /*
2  * Copyright 2006-2008 The FLWOR Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef ZORBA_LOCALE_API_H
18 #define ZORBA_LOCALE_API_H
19 
20 namespace zorba {
21  namespace locale {
22 
23  ///////////////////////////////////////////////////////////////////////////
24 
25  /**
26  * Defines constants for all ISO 639-1 language codes.
27  */
28  namespace iso639_1 {
29  enum type {
31  aa, ///< Afar
32  ab, ///< Abkhazian
33  ae, ///< Avestan
34  af, ///< Afrikaans
35  ak, ///< Akan
36  am, ///< Amharic
37  an, ///< Aragonese
38  ar, ///< Arabic
39  as, ///< Assamese
40  av, ///< Avaric
41  ay, ///< Aymara
42  az, ///< Azerbaijani
43  ba, ///< Bashkir
44  be, ///< Byelorussian
45  bg, ///< Bulgarian
46  bh, ///< Bihari
47  bi, ///< Bislama
48  bm, ///< Bambara
49  bn, ///< Bengali; Bangla
50  bo, ///< Tibetan
51  br, ///< Breton
52  bs, ///< Bosnian
53  ca, ///< Catalan
54  ce, ///< Chechen
55  ch, ///< Chamorro
56  co, ///< Corsican
57  cr, ///< Cree
58  cs, ///< Czech
59  cu, ///< Church Slavic; Church Slavonic
60  cv, ///< Chuvash
61  cy, ///< Welsh
62  da, ///< Danish
63  de, ///< German
64  dv, ///< Divehi
65  dz, ///< Bhutani
66  ee, ///< Ewe
67  el, ///< Greek
68  en, ///< English
69  eo, ///< Esperanto
70  es, ///< Spanish
71  et, ///< Estonian
72  eu, ///< Basque
73  fa, ///< Persian
74  ff, ///< Fulah
75  fi, ///< Finnish
76  fj, ///< Fiji
77  fo, ///< Faroese
78  fr, ///< French
79  fy, ///< Frisian
80  ga, ///< Irish
81  gd, ///< Scots Gaelic
82  gl, ///< Galician
83  gn, ///< Guarani
84  gu, ///< Gujarati
85  gv, ///< Manx
86  ha, ///< Hausa
87  he, ///< Hebrew (formerly iw)
88  hi, ///< Hindi
89  ho, ///< Hiri Motu
90  hr, ///< Croatian
91  ht, ///< Haitian Creole
92  hu, ///< Hungarian
93  hy, ///< Armenian
94  hz, ///< Herero
95  ia, ///< Interlingua
96  id, ///< Indonesian (formerly in)
97  ie, ///< Interlingue
98  ig, ///< Igbo
99  ii, ///< Nuosu
100  ik, ///< Inupiak
101  io, ///< Ido
102  is, ///< Icelandic
103  it, ///< Italian
104  iu, ///< Inuktitut
105  ja, ///< Japanese
106  jv, ///< Javanese
107  ka, ///< Georgian
108  kg, ///< Kongo
109  ki, ///< Gikuyu
110  kj, ///< Kuanyama
111  kk, ///< Kazakh
112  kl, ///< Greenlandic
113  km, ///< Cambodian
114  kn, ///< Kannada
115  ko, ///< Korean
116  kr, ///< Kanuri
117  ks, ///< Kashmiri
118  ku, ///< Kurdish
119  kv, ///< Komi
120  kw, ///< Cornish
121  ky, ///< Kirghiz
122  la, ///< Latin
123  lb, ///< Letzeburgesch
124  lg, ///< Ganda
125  li, ///< Limburgan; Limburger; Limburgish
126  ln, ///< Lingala
127  lo, ///< Laothian
128  lt, ///< Lithuanian
129  lu, ///< Luba-Katanga
130  lv, ///< Latvian
131  mg, ///< Malagasy
132  mh, ///< Marshallese
133  mi, ///< Maori
134  mk, ///< Macedonian
135  ml, ///< Malayalam
136  mn, ///< Mongolian
137  mo, ///< Moldavian
138  mr, ///< Marathi
139  ms, ///< Malay
140  mt, ///< Maltese
141  my, ///< Burmese
142  na, ///< Nauru
143  nb, ///< Norwegian Bokmal
144  nd, ///< Ndebele, North
145  ne, ///< Nepali
146  ng, ///< Ndonga
147  nl, ///< Dutch
148  nn, ///< Norwegian Nynorsk
149  no, ///< Norwegian
150  nr, ///< Ndebele, South
151  nv, ///< Navajo; Navaho
152  ny, ///< Chichewa; Chewa; Nyanja
153  oc, ///< Occitan
154  oj, ///< Ojibwa
155  om, ///< Oromo
156  or_, ///< Oriya
157  os, ///< Ossetian; Ossetic
158  pa, ///< Panjabi; Punjabi
159  pi, ///< Pali
160  pl, ///< Polish
161  ps, ///< Pashto, Pushto
162  pt, ///< Portuguese
163  qu, ///< Quechua
164  rm, ///< Romansh
165  rn, ///< Kirundi
166  ro, ///< Romanian
167  ru, ///< Russian
168  rw, ///< Kinyarwanda
169  sa, ///< Sanskrit
170  sc, ///< Sardinian
171  sd, ///< Sindhi
172  se, ///< Northern Sami
173  sg, ///< Sangho
174  sh, ///< Serbo-Croatian
175  si, ///< Sinhalese
176  sk, ///< Slovak
177  sl, ///< Slovenian
178  sm, ///< Samoan
179  sn, ///< Shona
180  so, ///< Somali
181  sq, ///< Albanian
182  sr, ///< Serbian
183  ss, ///< Siswati
184  st, ///< Sesotho
185  su, ///< Sundanese
186  sv, ///< Swedish
187  sw, ///< Swahili
188  ta, ///< Tamil
189  te, ///< Telugu
190  tg, ///< Tajik
191  th, ///< Thai
192  ti, ///< Tigrinya
193  tk, ///< Turkmen
194  tl, ///< Tagalog
195  tn, ///< Setswana
196  to, ///< Tonga
197  tr, ///< Turkish
198  ts, ///< Tsonga
199  tt, ///< Tatar
200  tw, ///< Twi
201  ty, ///< Tahitian
202  ug, ///< Uighur
203  uk, ///< Ukrainian
204  ur, ///< Urdu
205  uz, ///< Uzbek
206  ve, ///< Venda
207  vi, ///< Vietnamese
208  vo, ///< Volapuk
209  wa, ///< Walloon
210  wo, ///< Wolof
211  xh, ///< Xhosa
212  yi, ///< Yiddish
213  yo, ///< Yoruba
214  za, ///< Zhuang
215  zh, ///< Chinese
216  zu, ///< Zulu
218  };
219  }
220 
221  ///////////////////////////////////////////////////////////////////////////
222 
223  } // namespace locale
224 } // namespace zorba
225 
226 #endif /* ZORBA_LOCALE_API_H */
227 /* vim:set et sw=2 ts=2: */
blog comments powered by Disqus