save_lang_item
Saves a single language item to a langauge resource within a skin.
Parameters
- action
- save_lang_item
- resource
- The filename of the language resource to modify.
- langvalue
- The value of the language key.
- resskin
- The name of the skin to modify.
- langitem
- The key of the language item to add or edit.
Example URL
http://<host>:<port>/<context>/web/dev.xql?action=save_lang_item&resource=<value>&langvalue=<value>&resskin=<value>&langitem=<value>
Successful Result
This function returns a standard API result element (<result status='SUCCESS' statusCode='0' message='Localized Message' messageKey='message.key'/>). A statusCode of 0 indicates a successful execution. Any other statusCode indicates a failure.
Failed Result
Accessing this API feature requires the "Develop app" permission, and the function will throw a permission exception if the permission is not available.