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:
$stringArray = array( 'en' => 'example', 'es' => 'ejemplo', 'it' => 'esempio', ); $tr->add('example', 'mypage', $stringArray); |
identificator for the string
destination pageID, i.e. the group of strings where this string belongs to.
Associative array with string translations.
Пред. | Начало | След. |
Translation2_Admin::removeLang() | Уровень выше | Translation2_Admin::remove() |
HIVE: All information for read only. Please respect copyright! |