Translation2_Admin::update
Translation2_Admin::update() – Update an existing translation.
Synopsis
require_once 'Admin.php';
mixed Translation2_Admin::update (
string $stringID
, string $pageID
, array $stringArray
)
Description
Update the language details.
Parameter
-
string
$stringID
-
ID of the string to translate
-
string
$pageID
-
ID of the page (or group) the string to translate belongs to
-
array
$stringArray
-
Associative array with string translations:
array(
'en' => 'sample',
'it' => 'esempio',
);
Return value
returns true on success, PEAR_Error on failure
Note
This function can not be called statically.