GetLanguages

Description

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:

Attributes

package
modernbill
subpackage
mbapi
version
0.1

Example Request

	<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>

		

Example Response

None
		

Request Elements

mbapi
Type
None
Description
None
Children
command
Type
None
Description
None
showXMLHeader
Type
None
Description
None
params
Type
None
Description
None
Children
languagesID
Type
int
Description

The ID of the language to fetch. This will always select at most 1 language.

languagesISO2
Type
string
Description

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
Type
string
Description

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
Type
int
Description

Currently used to indicate if this language is an acceptable one for IDN domain names

sortDir
Type
None
Description
None
sortColumn
Type
None
Description
None
recordOffset
Type
None
Description
None
numRecords
Type
None
Description
None

Response Elements

None