Translation2_Admin::updateLang

Translation2_Admin::updateLang() – Update the language details.

Synopsis

require_once 'Admin.php';

mixed Translation2_Admin::updateLang ( array $langData )

Description

Update the language details.

Parameter

array $langData


array(
    'lang_id'    => 'en',
    'table_name' => 'i18n',
    'name'       => 'english',
    'meta'       => 'some new meta info',
    'error_text' => 'text not available',
    'encoding'   => 'iso-8859-15',
);

Return value

returns true on success, PEAR_Error on failure

Note

This function can not be called statically.

Prepare the storage container for a new lang. (Previous) Remove the language from the langsAvail table and drop the strings table. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.