At some point (1989), ISO-639 changed several language codes, after
the standard had already been released. What's the point of having standard language abbreviations if they're subject to change? "Annex B" in ISO 639-1:2001 (over a decade later, if that's a year) says "The changes were publicised, but they have not been included in printed versions of ISO 639." The first google hit for ISO-639 still makes no mention of these changes (http://www.w3.org/WAI/ER/IG/ert/iso639.htm). That rules. Remove "XS?"; as far as I can tell that's just an error in the "native language" page.
This commit is contained in:
@@ -300,8 +300,9 @@ RString ConvertUTF8ToACP( RString s )
|
||||
|
||||
#endif
|
||||
|
||||
// native forms: http://people.w3.org/rishida/names/languages.html
|
||||
/* We don't use 3-letter codes, so we don't bother supporting them. */
|
||||
/* ISO-639-1 codes: http://www.loc.gov/standards/iso639-2/langcodes.html
|
||||
* native forms: http://people.w3.org/rishida/names/languages.html
|
||||
* We don't use 3-letter codes, so we don't bother supporting them. */
|
||||
static const LanguageInfo g_langs[] =
|
||||
{
|
||||
{"AA", "Afar", ""},
|
||||
@@ -345,19 +346,21 @@ static const LanguageInfo g_langs[] =
|
||||
{"GN", "Guarani", ""},
|
||||
{"GU", "Gujarati", ""},
|
||||
{"HA", "Hausa", "Hausa"},
|
||||
{"HE", "Hebrew", "עברית"},
|
||||
{"HI", "Hindi", "हिंदी"},
|
||||
{"HR", "Croatian", "Hrvatski"},
|
||||
{"HU", "Hungarian", "Magyar"},
|
||||
{"HY", "Armenian", "Հայերեն"},
|
||||
{"IA", "Interlingua", ""},
|
||||
{"ID", "Indonesian", "Bahasa indonesia"},
|
||||
{"IE", "Interlingue", ""},
|
||||
{"IK", "Inupiak", ""},
|
||||
{"IN", "Indonesian", "Bahasa indonesia"}, //"ID"?
|
||||
{"IN", "Indonesian", "Bahasa indonesia"}, // compatibility
|
||||
{"IS", "Icelandic", "Íslenska"},
|
||||
{"IT", "Italian", "italiano"},
|
||||
{"IW", "Hebrew", "עברית"}, //"HE"?
|
||||
{"IW", "Hebrew", "עברית"}, // compatibility
|
||||
{"JA", "Japanese", "日本語"},
|
||||
{"JI", "Yiddish", ""},
|
||||
{"JI", "Yiddish", ""}, // compatibility
|
||||
{"JW", "Javanese", ""},
|
||||
{"KA", "Georgian", ""},
|
||||
{"KK", "Kazakh", "Қазақ"},
|
||||
@@ -436,7 +439,8 @@ static const LanguageInfo g_langs[] =
|
||||
{"VI", "Vietnamese", "Tiếng Việt"},
|
||||
{"VO", "Volapuk", ""},
|
||||
{"WO", "Wolof", "Wolof"},
|
||||
{"XH", "Xhosa", "isiXhosa"}, //"XS"?
|
||||
{"XH", "Xhosa", "isiXhosa"},
|
||||
{"YI", "Yiddish", ""},
|
||||
{"YO", "Yoruba", "Yorùbá"},
|
||||
{"ZH", "Chinese", "中文"},
|
||||
{"ZU", "Zulu", "isiZulu"},
|
||||
|
||||
Reference in New Issue
Block a user