VLC  3.0.15
iso-639_def.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * iso-639_def.h: languages codes and abbreviations
3  *****************************************************************************
4  * Copyright (C) 1998-2004 VLC authors and VideoLAN
5  * $Id: ca199ee519d00d176dd12ba37f85b38f2ef980fe $
6  *
7  * This is used in iso_lang.cpp and is taken from the GNU glibc 2.2.5
8  * tarball. It has been partially completed with native language names.
9  * Authors: Stéphane Borel <stef@via.ecp.fr>
10  * Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
11  *
12  * This program is free software; you can redistribute it and/or modify it
13  * under the terms of the GNU Lesser General Public License as published by
14  * the Free Software Foundation; either version 2.1 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License
23  * along with this program; if not, write to the Free Software Foundation,
24  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25  *****************************************************************************/
26 
27 /* Define the languages codes and abbreviations according to ISO 639-[12].
28  * Format is:( "English name", 639-1-code, 639-2/T-code, 639-2/B-code)
29  * If you find something missing or wrong contact <bug-glibc@gnu.org> */
30 
31 /* The following spellings were converted to pure ASCII. They should be
32  * "translated" back to Unicode in the po/en*.po files:
33  * Provençal -> Provencal
34  * Volapük -> Volapuk
35  * Bokmål -> Bokmaal
36  */
37 
38 static const iso639_lang_t p_languages[] =
39 {
40  { N_( "Afar" ), "aa", "aar", "aar" },
41  { N_( "Abkhazian" ), "ab", "abk", "abk" },
42  { N_( "Afrikaans" ), "af", "afr", "afr" },
43  { N_( "Albanian" ), "sq", "sqi", "alb" },
44  { N_( "Amharic" ), "am", "amh", "amh" },
45  { N_( "Arabic" ), "ar", "ara", "ara" },
46  { N_( "Armenian" ), "hy", "hye", "arm" },
47  { N_( "Assamese" ), "as", "asm", "asm" },
48  { N_( "Avestan" ), "ae", "ave", "ave" },
49  { N_( "Aymara" ), "ay", "aym", "aym" },
50  { N_( "Azerbaijani" ), "az", "aze", "aze" },
51  { N_( "Bashkir" ), "ba", "bak", "bak" },
52  { N_( "Basque" ), "eu", "eus", "baq" },
53  { N_( "Belarusian" ), "be", "bel", "bel" },
54  { N_( "Bengali" ), "bn", "ben", "ben" },
55  { N_( "Bihari" ), "bh", "bih", "bih" },
56  { N_( "Bislama" ), "bi", "bis", "bis" },
57  { N_( "Bosnian" ), "bs", "bos", "bos" },
58  { N_( "Breton" ), "br", "bre", "bre" },
59  { N_( "Bulgarian" ), "bg", "bul", "bul" },
60  { N_( "Burmese" ), "my", "mya", "bur" },
61  { N_( "Catalan" ), "ca", "cat", "cat" },
62  { N_( "Chamorro" ), "ch", "cha", "cha" },
63  { N_( "Chechen" ), "ce", "che", "che" },
64  { N_( "Chinese" ), "zh", "zho", "chi" },
65  { N_( "Church Slavic" ), "cu", "chu", "chu" },
66  { N_( "Chuvash" ), "cv", "chv", "chv" },
67  { N_( "Cornish" ), "kw", "cor", "cor" },
68  { N_( "Corsican" ), "co", "cos", "cos" },
69  { N_( "Czech" ), "cs", "ces", "cze" },
70  { N_( "Danish" ), "da", "dan", "dan" },
71  { N_( "Dutch" ), "nl", "nld", "dut" },
72  { N_( "Dzongkha" ), "dz", "dzo", "dzo" },
73  { N_( "English" ), "en", "eng", "eng" },
74  { N_( "Esperanto" ), "eo", "epo", "epo" },
75  { N_( "Estonian" ), "et", "est", "est" },
76  { N_( "Faroese" ), "fo", "fao", "fao" },
77  { N_( "Fijian" ), "fj", "fij", "fij" },
78  { N_( "Finnish" ), "fi", "fin", "fin" },
79  { N_( "French" ), "fr", "fra", "fre" },
80  { N_( "Frisian" ), "fy", "fry", "fry" },
81  { N_( "Georgian" ), "ka", "kat", "geo" },
82  { N_( "German" ), "de", "deu", "ger" },
83  { N_( "Gaelic (Scots)" ), "gd", "gla", "gla" },
84  { N_( "Irish" ), "ga", "gle", "gle" },
85  { N_( "Gallegan" ), "gl", "glg", "glg" },
86  { N_( "Manx" ), "gv", "glv", "glv" },
87  { N_( "Greek, Modern" ), "el", "gre", "ell" },
88  { N_( "Guarani" ), "gn", "grn", "grn" },
89  { N_( "Gujarati" ), "gu", "guj", "guj" },
90  { N_( "Hebrew" ), "he", "heb", "heb" },
91  { N_( "Herero" ), "hz", "her", "her" },
92  { N_( "Hindi" ), "hi", "hin", "hin" },
93  { N_( "Hiri Motu" ), "ho", "hmo", "hmo" },
94  { N_( "Hungarian" ), "hu", "hun", "hun" },
95  { N_( "Icelandic" ), "is", "isl", "ice" },
96  { N_( "Inuktitut" ), "iu", "iku", "iku" },
97  { N_( "Interlingue" ), "ie", "ile", "ile" },
98  { N_( "Interlingua" ), "ia", "ina", "ina" },
99  { N_( "Indonesian" ), "id", "ind", "ind" },
100  { N_( "Inupiaq" ), "ik", "ipk", "ipk" },
101  { N_( "Italian" ), "it", "ita", "ita" },
102  { N_( "Javanese" ), "jv", "jaw", "jav" },
103  { N_( "Japanese" ), "ja", "jpn", "jpn" },
104  { N_( "Greenlandic, Kalaallisut" ), "kl", "kal", "kal" },
105  { N_( "Kannada" ), "kn", "kan", "kan" },
106  { N_( "Kashmiri" ), "ks", "kas", "kas" },
107  { N_( "Kazakh" ), "kk", "kaz", "kaz" },
108  { N_( "Khmer" ), "km", "khm", "khm" },
109  { N_( "Kikuyu" ), "ki", "kik", "kik" },
110  { N_( "Kinyarwanda" ), "rw", "kin", "kin" },
111  { N_( "Kirghiz" ), "ky", "kir", "kir" },
112  { N_( "Komi" ), "kv", "kom", "kom" },
113  { N_( "Korean" ), "ko", "kor", "kor" },
114  { N_( "Kuanyama" ), "kj", "kua", "kua" },
115  { N_( "Kurdish" ), "ku", "kur", "kur" },
116  { N_( "Lao" ), "lo", "lao", "lao" },
117  { N_( "Latin" ), "la", "lat", "lat" },
118  { N_( "Latvian" ), "lv", "lav", "lav" },
119  { N_( "Lingala" ), "ln", "lin", "lin" },
120  { N_( "Lithuanian" ), "lt", "lit", "lit" },
121  { N_( "Letzeburgesch" ), "lb", "ltz", "ltz" },
122  { N_( "Macedonian" ), "mk", "mkd", "mac" },
123  { N_( "Marshall" ), "mh", "mah", "mah" },
124  { N_( "Malayalam" ), "ml", "mal", "mal" },
125  { N_( "Maori" ), "mi", "mri", "mao" },
126  { N_( "Marathi" ), "mr", "mar", "mar" },
127  { N_( "Malay" ), "ms", "msa", "may" },
128  { N_( "Malagasy" ), "mg", "mlg", "mlg" },
129  { N_( "Maltese" ), "mt", "mlt", "mlt" },
130  { N_( "Moldavian" ), "mo", "mol", "mol" },
131  { N_( "Mongolian" ), "mn", "mon", "mon" },
132  { N_( "Nauru" ), "na", "nau", "nau" },
133  { N_( "Navajo" ), "nv", "nav", "nav" },
134  { N_( "Ndebele, South" ), "nr", "nbl", "nbl" },
135  { N_( "Ndebele, North" ), "nd", "nde", "nde" },
136  { N_( "Ndonga" ), "ng", "ndo", "ndo" },
137  { N_( "Nepali" ), "ne", "nep", "nep" },
138  { N_( "Norwegian" ), "no", "nor", "nor" },
139  { N_( "Norwegian Nynorsk" ), "nn", "nno", "nno" },
140  { N_( "Norwegian Bokmaal" ), "nb", "nob", "nob" },
141  { N_( "Chichewa; Nyanja" ), "ny", "nya", "nya" },
142  { N_( "Occitan; Provençal" ), "oc", "oci", "oci" },
143  { N_( "Oriya" ), "or", "ori", "ori" },
144  { N_( "Oromo" ), "om", "orm", "orm" },
145  { N_( "On Screen Display" ), "od", "osd", "osd" },
146  { N_( "Ossetian; Ossetic" ), "os", "oss", "oss" },
147  { N_( "Panjabi" ), "pa", "pan", "pan" },
148  { N_( "Persian" ), "fa", "fas", "per" },
149  { N_( "Pali" ), "pi", "pli", "pli" },
150  { N_( "Polish" ), "pl", "pol", "pol" },
151  { N_( "Portuguese" ), "pt", "por", "por" },
152  { N_( "Pushto" ), "ps", "pus", "pus" },
153  { N_( "Quechua" ), "qu", "que", "que" },
154  { N_( "Original audio" ), "", "qaa", "qaa" },
155  { N_( "Raeto-Romance" ), "rm", "roh", "roh" },
156  { N_( "Romanian" ), "ro", "ron", "rum" },
157  { N_( "Rundi" ), "rn", "run", "run" },
158  { N_( "Russian" ), "ru", "rus", "rus" },
159  { N_( "Sango" ), "sg", "sag", "sag" },
160  { N_( "Sanskrit" ), "sa", "san", "san" },
161  { N_( "Serbian" ), "sr", "srp", "scc" },
162  { N_( "Croatian" ), "hr", "hrv", "scr" },
163  { N_( "Sinhalese" ), "si", "sin", "sin" },
164  { N_( "Slovak" ), "sk", "slk", "slo" },
165  { N_( "Slovenian" ), "sl", "slv", "slv" },
166  { N_( "Northern Sami" ), "se", "sme", "sme" },
167  { N_( "Samoan" ), "sm", "smo", "smo" },
168  { N_( "Shona" ), "sn", "sna", "sna" },
169  { N_( "Sindhi" ), "sd", "snd", "snd" },
170  { N_( "Somali" ), "so", "som", "som" },
171  { N_( "Sotho, Southern" ), "st", "sot", "sot" },
172  { N_( "Spanish" ), "es", "spa", "spa" },
173  { N_( "Sardinian" ), "sc", "srd", "srd" },
174  { N_( "Swati" ), "ss", "ssw", "ssw" },
175  { N_( "Sundanese" ), "su", "sun", "sun" },
176  { N_( "Swahili" ), "sw", "swa", "swa" },
177  { N_( "Swedish" ), "sv", "swe", "swe" },
178  { N_( "Tahitian" ), "ty", "tah", "tah" },
179  { N_( "Tamil" ), "ta", "tam", "tam" },
180  { N_( "Tatar" ), "tt", "tat", "tat" },
181  { N_( "Telugu" ), "te", "tel", "tel" },
182  { N_( "Tajik" ), "tg", "tgk", "tgk" },
183  { N_( "Tagalog" ), "tl", "tgl", "tgl" },
184  { N_( "Thai" ), "th", "tha", "tha" },
185  { N_( "Tibetan" ), "bo", "bod", "tib" },
186  { N_( "Tigrinya" ), "ti", "tir", "tir" },
187  { N_( "Tonga (Tonga Islands)" ), "to", "ton", "ton" },
188  { N_( "Tswana" ), "tn", "tsn", "tsn" },
189  { N_( "Tsonga" ), "ts", "tso", "tso" },
190  { N_( "Turkish" ), "tr", "tur", "tur" },
191  { N_( "Turkmen" ), "tk", "tuk", "tuk" },
192  { N_( "Twi" ), "tw", "twi", "twi" },
193  { N_( "Uighur" ), "ug", "uig", "uig" },
194  { N_( "Ukrainian" ), "uk", "ukr", "ukr" },
195  { N_( "Urdu" ), "ur", "urd", "urd" },
196  { N_( "Uzbek" ), "uz", "uzb", "uzb" },
197  { N_( "Vietnamese" ), "vi", "vie", "vie" },
198  { N_( "Volapuk" ), "vo", "vol", "vol" },
199  { N_( "Welsh" ), "cy", "cym", "wel" },
200  { N_( "Wolof" ), "wo", "wol", "wol" },
201  { N_( "Xhosa" ), "xh", "xho", "xho" },
202  { N_( "Yiddish" ), "yi", "yid", "yid" },
203  { N_( "Yoruba" ), "yo", "yor", "yor" },
204  { N_( "Zhuang" ), "za", "zha", "zha" },
205  { N_( "Zulu" ), "zu", "zul", "zul" },
206  /* XXX psz_eng_name MUST be NULL on the last item as it is the stop condition */
207  { NULL, "", "", "" }
208 };
209 
vlc_common.h
uselocale
static locale_t uselocale(locale_t loc)
Definition: vlc_fixups.h:356
locale_t
void * locale_t
Definition: vlc_fixups.h:341
strtof
float strtof(const char *, char **)
vlc_charset.h
freelocale
static void freelocale(locale_t loc)
Definition: vlc_fixups.h:343
us_strtof
float us_strtof(const char *str, char **end)
us_strtof() has the same prototype as ANSI C strtof() but it uses the POSIX/C decimal format,...
Definition: charset.c:68
newlocale
static locale_t newlocale(int mask, const char *locale, locale_t base)
Definition: vlc_fixups.h:347
us_vasprintf
int us_vasprintf(char **ret, const char *format, va_list ap)
us_vasprintf() has the same prototype as vasprintf(), but doesn't use the system locale.
Definition: charset.c:97
us_asprintf
int us_asprintf(char **ret, const char *format,...)
us_asprintf() has the same prototype as asprintf(), but doesn't use the system locale.
Definition: charset.c:118
iso639_lang_t
Definition: vlc_iso_lang.h:30
LC_NUMERIC_MASK
#define LC_NUMERIC_MASK
Definition: vlc_fixups.h:338
p_languages
static const iso639_lang_t p_languages[]
Definition: iso-639_def.h:37
N_
#define N_(str)
Definition: vlc_fixups.h:372
libvlc.h
us_atof
double us_atof(const char *str)
us_atof() has the same prototype as ANSI C atof() but it expects a dot as decimal separator,...
Definition: charset.c:87
vasprintf
int vasprintf(char **, const char *, va_list)
us_strtod
double us_strtod(const char *str, char **end)
us_strtod() has the same prototype as ANSI C strtod() but it uses the POSIX/C decimal format,...
Definition: charset.c:49