I've just install translation to codeigniter.
At the beginning of my controller I've set:
public function __construct()
{
parent::__construct();
$this->load->model('MyVeryFirst_model');
$this->lang->load('calendar', 'polish');
$this->load->helper('date');
}
Next in function
echo mdate(%F);
it shows me month in English, why?
echo $this->lang->line('cal_december');
echo timespan('1079621429', time());
Shows me names in polish which is ok. I've set locale to polish.
What I'm doing wrong?