Translation2_Admin::removeLang | Translation2_Admin::remove |
Translation2 | |
PEAR Manual | |
require_once 'Admin.php'; |
mixed Translation2_Admin::add (
string $stringID
, string $pageID = NULL
, array $stringArray
)
Add a new translated string (or a set of translated strings) for a given stringID . For instance, to add the English, Spanish and Italian translations for the stringID 'example', use the following code:
|
identificator for the string
destination pageID, i.e. the group of strings where this string belongs to.
Associative array with string translations.
returns true on success, PEAR_Error on failure
This function can not be called statically.
Translation2_Admin::removeLang | Translation2_Admin::remove |
Translation2 | |
PEAR Manual | |