~hippietrail/langmetadata.fcgi

Lang metadata returns JSON data containing various kinds of data about many languages compiled from various sources including ISO, WikiMedia, as well as hard-coded data.

It is primarily used by the GUI translation editor on the English Wiktionary to display only parts of the input form relevant to the given language so as to reduce clutter. It is also used by hippiebot in IRC #wiktionary.

Without any parameters it will return all data for all languages so be careful!

To request specific fields only use the  parameter.

Currently supported data fields are:
 * ISO 639-code (3 letters)
 * ISO 639-2 bibliographic code (3 letters)
 * ISO 639-2 terminology code (3 letters)
 * ISO 639-1 code (2 letters)
 * ISO 639-2 scope
 * ISO 639-2 type
 * the language name in English according to ISO 639
 * whether this code is used for WikiMedia projects
 * whether this code has a Wiktionary project
 * the native name(s) for this code according to WikiMedia
 * the ISO script code(s) used by this language, currently or formerly
 * the script template used by this language on the English Wiktionary
 * which genders, if any, exist for nouns in this language
 * whether this language has a distinction between singular and plural for nouns
 * whether this language uses optional diacritic or vowel marks such as Latin macrons or Hebrew vowel points
 * hard-coded name(s) for this language in English
 * whether this is an ancient language
 * the best fitting ISO language family code
 * ISO region codes for which areas in which this language is the national, native, official, major, etc language
 * used for removing optional diacritic and vowel marks
 * used for removing optional diacritic and vowel marks
 * used for removing optional diacritic and vowel marks

To request specific languages only use the  parameter. Currently only language codes are accepted including WikiMedia and English Wiktionary extensions to ISO 639.

Example: http://toolserver.org/~hippietrail/langmetadata.fcgi?format=jsonfm&langs=eo,es,fr-gal,zh-min-nan