Download
Last stable v 5.2 2024-11-01
API URL | /local/locale/man/put |
Description | Update locale node manage data RESTful API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request raw data |
Request data |
{
key: "2|default", // key of locale node to be managed
source: "532d9ebed9ef2", // assigned to locale node source bundle ID
create: "0", // 1 - create .po file new (all translations to be lost!)
update: "1", // 1 - update .po file with new from source bundle files extracted NLS messages
remove: "0" // 1 - remove not existing (removed) in source bundle files messages from .po files
}
|
Response type | JSON |
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'return message', // error message
}
|