.pdf)
WHM Plugins
getlanglist function from within your custom script:
/xml-api/getlanglist function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/xml-api/getlanglist
getlanglist function from within your custom script:
/json-api/getlanglist function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/json-api/getlanglist
getlanglist function. french
x3
<arabic>1</arabic>
1 — This character set is available with the current theme.
0 — This value is never displayed, as the language will never be displayed in the output.
https://example.com:2087/xml-api/getlanglist in WebHost Manager will produce output similar to:
<getlanglist>
<lang>arabic</lang>
<lang>bengali</lang>
<lang>chinese</lang>
<lang>english</lang>
<lang>english-utf8</lang>
<lang>french</lang>
<lang>french-utf8</lang>
<lang>german</lang>
<lang>german-utf8</lang>
<lang>hindi</lang>
<lang>japanese</lang>
<lang>portuguese</lang>
<lang>portuguese-utf8</lang>
<lang>russian</lang>
<lang>spanish</lang>
<lang>spanish-utf8</lang>
<themes>
<name>x</name>
<english>1</english>
</themes>
<themes>
<name>x3</name>
<arabic>1</arabic>
<bengali>1</bengali>
<chinese>1</chinese>
</themes>
</getlanglist>
https://example.com:2087/json-api/getlanglist in WebHost Manager will produce output similar to:
{
"lang":[
"arabic",
"bengali",
"brazilian-portuguese-utf8",
"chinese",
"chinese_ibm500",
"dutch-utf8",
"eng_root",
"eng_x3",
"english",
"english-utf8",
"engmonsoon",
"french",
"french-utf8",
"german",
"german-utf8",
"hindi",
"japanese",
"portuguese",
"portuguese-utf8",
"russian",
"span2",
"spanish",
"spanish-utf8"
],
"themes":{
"x3":{
"chinese_ibm500":1,
"spanish":1,
"bengali":1,
"japanese":1,
"english":1,
"russian":1,
"french-utf8":1,
"eng_root":1,
"eng_x3":1,
"arabic":1,
"spanish-utf8":1,
"portuguese":1,
"german":1,
"portuguese-utf8":1,
"hindi":1,
"chinese":1,
"german-utf8":1,
"french":1,
"english-utf8":1,
"span2":1
},
"x":{
"eng_root":1,
"engmonsoon":1,
"english":1
},
"x3mail":{
"chinese_ibm500":1,
"spanish":1,
"bengali":1,
"japanese":1,
"english":1,
"russian":1,
"french-utf8":1,
"eng_root":1,
"arabic":1,
"spanish-utf8":1,
"portuguese":1,
"german":1,
"portuguese-utf8":1,
"hindi":1,
"chinese":1,
"german-utf8":1,
"french":1,
"english-utf8":1,
"span2":1
}
}
}