translate form names in list_items functions

edited March 2012 in Modules
function list_items($limit = NULL, $offset = NULL, $col = 'name', $order = 'asc') { $this->db->select('id, name, email, bio, avatar, date_added, date, published, my_space', FALSE); $data = parent::list_items($limit, $offset, $col, $order); return $data; }

i want to translate this Names into our language.

i found this for example:
$lang['form_label_date_added'] = 'Date Added';

is ok if i add

$lang['form_label_my_space'] = 'Moj prostor';

is this the right way?

Comments

  • edited 10:43PM
    Yes... I believe that should do the trick.
Sign In or Register to comment.