• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef LANGUAGES_PROTO_LANGUAGES_PB_H_
6 #define LANGUAGES_PROTO_LANGUAGES_PB_H_
7 
8 enum Language {
9   ENGLISH       = 0,
10   DANISH        = 1,
11   DUTCH         = 2,
12   FINNISH       = 3,
13   FRENCH        = 4,
14   GERMAN        = 5,
15   HEBREW        = 6,
16   ITALIAN       = 7,
17   JAPANESE      = 8,
18   KOREAN        = 9,
19   NORWEGIAN     = 10,
20   POLISH        = 11,
21   PORTUGUESE    = 12,
22   RUSSIAN       = 13,
23   SPANISH       = 14,
24   SWEDISH       = 15,
25   CHINESE       = 16,
26   CZECH         = 17,
27   GREEK         = 18,
28   ICELANDIC     = 19,
29   LATVIAN       = 20,
30   LITHUANIAN    = 21,
31   ROMANIAN      = 22,
32   HUNGARIAN     = 23,
33   ESTONIAN      = 24,
34   TG_UNKNOWN_LANGUAGE   = 25,
35   UNKNOWN_LANGUAGE      = 26,
36   BULGARIAN     = 27,
37   CROATIAN      = 28,
38   SERBIAN       = 29,
39   IRISH         = 30,      // UI only.
40   GALICIAN      = 31,
41   TAGALOG       = 32,      // Tagalog (tl) + Filipino (fil),
42   TURKISH       = 33,
43   UKRAINIAN     = 34,
44   HINDI         = 35,
45   MACEDONIAN    = 36,
46   BENGALI       = 37,
47   INDONESIAN    = 38,
48   LATIN         = 39,      // UI only.
49   MALAY         = 40,
50   MALAYALAM     = 41,
51   WELSH         = 42,      // UI only.
52   NEPALI        = 43,
53   TELUGU        = 44,
54   ALBANIAN      = 45,
55   TAMIL         = 46,
56   BELARUSIAN    = 47,
57   JAVANESE      = 48,      // UI only.
58   OCCITAN       = 49,      // UI only.
59   URDU          = 50,
60   BIHARI        = 51,
61   GUJARATI      = 52,
62   THAI          = 53,
63   ARABIC        = 54,
64   CATALAN       = 55,
65   ESPERANTO     = 56,
66   BASQUE        = 57,
67   INTERLINGUA   = 58,      // UI only.
68   KANNADA       = 59,
69   PUNJABI       = 60,
70   SCOTS_GAELIC  = 61,      // UI only.
71   SWAHILI       = 62,
72   SLOVENIAN     = 63,
73   MARATHI       = 64,
74   MALTESE       = 65,
75   VIETNAMESE    = 66,
76   FRISIAN       = 67,      // UI only.
77   SLOVAK        = 68,
78   CHINESE_T     = 69,      // This is added to solve the problem of
79                            // distinguishing Traditional and Simplified
80                            // Chinese when the encoding is UTF8.
81   FAROESE       = 70,      // UI only.
82   SUNDANESE     = 71,      // UI only.
83   UZBEK         = 72,
84   AMHARIC       = 73,
85   AZERBAIJANI   = 74,
86   GEORGIAN      = 75,
87   TIGRINYA      = 76,      // UI only.
88   PERSIAN       = 77,
89   BOSNIAN       = 78,      // UI only. LangId language: CROATIAN (28)
90   SINHALESE     = 79,
91   NORWEGIAN_N   = 80,      // UI only. LangId language: NORWEGIAN (10)
92   PORTUGUESE_P  = 81,      // UI only. LangId language: PORTUGUESE (12)
93   PORTUGUESE_B  = 82,      // UI only. LangId language: PORTUGUESE (12)
94   XHOSA         = 83,      // UI only.
95   ZULU          = 84,      // UI only.
96   GUARANI       = 85,
97   SESOTHO       = 86,      // UI only.
98   TURKMEN       = 87,      // UI only.
99   KYRGYZ        = 88,
100   BRETON        = 89,      // UI only.
101   TWI           = 90,      // UI only.
102   YIDDISH       = 91,      // UI only.
103   SERBO_CROATIAN= 92,      // UI only. LangId language: SERBIAN (29)
104   SOMALI        = 93,      // UI only.
105   UIGHUR        = 94,
106   KURDISH       = 95,
107   MONGOLIAN     = 96,
108   ARMENIAN      = 97,
109   LAOTHIAN      = 98,
110   SINDHI        = 99,
111   RHAETO_ROMANCE= 100,     // UI only.
112   AFRIKAANS     = 101,
113   LUXEMBOURGISH = 102,     // UI only.
114   BURMESE       = 103,
115   KHMER         = 104,
116   TIBETAN       = 105,
117   DHIVEHI       = 106,     // sometimes spelled Divehi, lang of Maldives
118   CHEROKEE      = 107,
119   SYRIAC        = 108,     // UI only.
120   LIMBU         = 109,     // UI only.
121   ORIYA         = 110,
122   ASSAMESE      = 111,     // UI only.
123   CORSICAN      = 112,     // UI only.
124   INTERLINGUE   = 113,     // UI only.
125   KAZAKH        = 114,
126   LINGALA       = 115,     // UI only.
127   MOLDAVIAN     = 116,     // UI only. LangId language: ROMANIAN (22)
128   PASHTO        = 117,
129   QUECHUA       = 118,     // UI only.
130   SHONA         = 119,     // UI only.
131   TAJIK         = 120,
132   TATAR         = 121,     // UI only.
133   TONGA         = 122,     // UI only.
134   YORUBA        = 123,     // UI only.
135   CREOLES_AND_PIDGINS_ENGLISH_BASED       = 124,   // UI only.
136   CREOLES_AND_PIDGINS_FRENCH_BASED        = 125,   // UI only.
137   CREOLES_AND_PIDGINS_PORTUGUESE_BASED    = 126,   // UI only.
138   CREOLES_AND_PIDGINS_OTHER               = 127,   // UI only.
139   MAORI         = 128,     // UI only.
140   WOLOF         = 129,     // UI only.
141   ABKHAZIAN     = 130,     // UI only.
142   AFAR          = 131,     // UI only.
143   AYMARA        = 132,     // UI only.
144   BASHKIR       = 133,     // UI only.
145   BISLAMA       = 134,     // UI only.
146   DZONGKHA      = 135,     // UI only.
147   FIJIAN        = 136,     // UI only.
148   GREENLANDIC   = 137,     // UI only.
149   HAUSA         = 138,     // UI only.
150   HAITIAN_CREOLE= 139,     // UI only.
151   INUPIAK       = 140,     // UI only.
152   INUKTITUT     = 141,
153   KASHMIRI      = 142,     // UI only.
154   KINYARWANDA   = 143,     // UI only.
155   MALAGASY      = 144,     // UI only.
156   NAURU         = 145,     // UI only.
157   OROMO         = 146,     // UI only.
158   RUNDI         = 147,     // UI only.
159   SAMOAN        = 148,     // UI only.
160   SANGO         = 149,     // UI only.
161   SANSKRIT      = 150,
162   SISWANT       = 151,     // UI only.
163   TSONGA        = 152,     // UI only.
164   TSWANA        = 153,     // UI only.
165   VOLAPUK       = 154,     // UI only.
166   ZHUANG        = 155,     // UI only.
167   KHASI         = 156,     // UI only.
168   SCOTS         = 157,     // UI only.
169   GANDA         = 158,     // UI only.
170   MANX          = 159,     // UI only.
171   MONTENEGRIN   = 160,     // UI only. LangId language: SERBIAN (29)
172   NUM_LANGUAGES = 161,        // Always keep this at the end. It is not a
173                               // valid Language enum. It is only used to
174                               // indicate the total number of Languages.
175   // NOTE: If you add a language, you will break a unittest. See the note
176   // at the top of this enum.
177 };
178 
179 #endif  // LANGUAGES_PROTO_LANGUAGES_PB_H_
180