save_merge_lang
Provides a utility to apply the changes that were made the language merge interface (see action merge_lang).
Parameters
- action
- save_merge_lang
- skin2
-
The name of the skin in which
langres2is located. - skin1
-
The name of the skin in which
langres1is located. - items
-
A pipe-delimited list (
|) of keys that should be merged fromlangres1intolangres2. - langres1
- The filename of the source language resource.
- langres2
- The filename of the target language resource, which will recieve the modifications defined in the merge process.
Example URL
http://<host>:<port>/<context>/web/dev.xql?action=save_merge_lang&skin2=<value>&skin1=<value>&items=<value>&langres1=<value>&langres2=<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.