30 int i, c = LanguageCodes.Length;
33 for (i = 0; i < c; i++)
46 int i, c = Languages.Length;
47 string[] Result =
new string[c];
49 for (i = 0; i < c; i++)
50 Result[i] = Languages[i].Code;
Static class with standard extensions.
static Iso__639_1.Record[] ToIso639_1(this string[] LanguageCodes)
Converts an array of language codes to an array of ISO 639-1 records.
static Iso__639_1.Record ToIso639_1(this string LanguageCode)
Converts a language code to an ISO 639-1 record.
static string[] ToCodes(this Iso__639_1.Record[] Languages)
Converts an array of ISO 639-1 language records to an array of language codes.
Contains one record of the ISO 639-1 data set.
Static class containing ISO 639-1 language codes
static bool CodeToLanguage(string Code, out string Language)
Tries to get the language name corresponding to an ISO 639-1 language code.