getLanguageList — Retrieving a list of supported languages
The getLanguageList
method retrieves a list of all the languages supported by SiteLock.
The list contains the various languages currently supported by our dashboard, and the various methods of specifying a language in other calls that support a language parameter.
The API endpoint is:
https://api.sitelock.com/v1/partner
Request format
-
SiteLockOnlineRequest: This element is used to delineate the full API request.
-
authentication: The partner’s username, password, and branding
-
username: The partner’s API username
-
password: The partner’s API password
-
partner: (Optional) The brand name to use in messaging
-
-
getLanguageList: The method name
-
Response format
-
SiteLockOnlineResponse: This element is used to delineate the full API response.
-
getLanguageList: The method name
-
language: (Repeatable) A language
-
name: The common English name of a language
-
abbr: The two-character abbreviation of the five-character international language code
-
active: This is for internal use and can be ignored.
-
code: The five-character international code of the language
-
id: The internal SiteLock ID of the language
-
local_name: The name of the language as used in its native country.
-
telesign: This is for internal use and can be ignored.
-
-
-
Example response
<SiteLockOnlineResponse>
<getLanguageList>
<language>
<name>english</name>
<abbr>en</abbr>
<active>2012-10-30 01:58:39</active>
<code>en-US</code>
<id>1</id>
<local_name>English</local_name>
<telesign>en-US</telesign>
</language>
<language>
<name>german</name>
<abbr>de</abbr>
<active>2012-05-11 08:00:00</active>
<code>de-DE</code>
<id>2</id>
<local_name>Deutsch</local_name>
<telesign>de</telesign>
</language>
</getLanguageList>
</SiteLockOnlineResponse>