Chapter 22: Controller: /nodeworx/ipv6 Up Part II: NodeWorx API Spec Chapter 24: Controller: /nodeworx/logout 

23 Controller: /nodeworx/lang

Required Permissions "LANGUAGES"
Action: add
Added in version 4.7.0-339
Description Add a new language.
Input Parameters
Name Type Notes Required?
code string Example Values
, ab, aa, af, sq, am, ar, hy, as, ay, az, ba, eu, bn, dz, bh, bi, br, bg, my, be, km, ca, zh, co, hr, cs, da, nl, en-uk, en-us, eo, et, fo, fj, fi, fr, fy, gd, gl, ka, de, el, kl, gn, gu, ha, iw, hi, hu, ...
Yes
lang_file string Yes
Action: changeCurrentUserLanguage
Added in version 4.8.0-393
Description Change the current language.
Action: delete
Added in version 4.7.0-339
Description Delete a language file.
Input Parameters
Name Type Notes Required?
code string Example Values
pl, de, ru, it, tr, hu, sv, sk, es, zh, da, nl, fr, cs, pt
Yes
Action: listLanguages
Added in version 4.8.0-393
Description List languages available for use in interworx.
Sample output
array (
’status’ => 0,
’payload’ =>
array (
0 =>
array (
’code’ => ’pl’,
’language’ => ’Polish’,
’status’ => ’unused’,
),
1 =>
array (
’code’ => ’de’,
’language’ => ’German’,
’status’ => ’unused’,
),
2 =>
array (
’code’ => ’ru’,
’language’ => ’Russian’,
’status’ => ’unused’,
),
),
)
Action: queryChangeCurrentUserLanguage
Added in version 5.1.0-838
Description Displays the information available to the action "changeCurrentUserLanguage".
Sample output
array (
’status’ => 0,
’payload’ =>
array (
’language_copy’ => ’en-us’,
’language’ => ’en-us’,
),
)
Action: syncLanguage
Added in version 4.7.0-339
Description Trigger language synchronization for a node.
Input Parameters
Name Type Notes Required?
code string Example Values
pl, de, ru, it, tr, en-us, hu, sv, sk, es, zh, da, nl, fr, cs, pt
Yes
 Chapter 22: Controller: /nodeworx/ipv6 Up Part II: NodeWorx API Spec Chapter 24: Controller: /nodeworx/logout 

(C) 2017 by InterWorx LLC