This class is used to obtain language information from the database. Language names are stored in UTF-8 encoded characters in the native script for that language. The languages in the database are the ones supported by CLDR data. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetLanguages command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <languagesID><!-- int --></languagesID> <languagesISO2><!-- string --></languagesISO2> <languagesISO3><!-- string --></languagesISO3> <languagesC1><!-- int --></languagesC1> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
languagesID
The ID of the language to fetch. This will always select at most 1 language.
languagesISO2
The ISO 639-2 language code. If there is a 639-1 code for the language, that is used as per spec. This can also contain the ISO 15924 script code for languages commonly written in differnet scripts (many Central Asian languages).
languagesISO3
The ISO 639-3 language code. See http://www.sil.org/iso639-3/ for more info. This column is for future use when browsers begin to recognize this as a valid language code.
languagesC1
Currently used to indicate if this language is an acceptable one for IDN domain names
sortDir
sortColumn
recordOffset
numRecords