Welcome Guest, Not a member yet? Register   Sign In
Codeigniter calendar language problem
#1

[eluser]lucas123[/eluser]
I'm trying to get the calendar in CodeIgniter to print month names in Polish.

In config.php I have this line:
Code:
$config ['language'] = 'polish';
In autoload.php I have this line:
Code:
$autoload ['language'] = array ('calendar');
In my controller:
Code:
$this->lang->load('calendar', 'polish');

So here I am trying to print the date:
Code:
echo mdate('%F');

The result is: August

Month names are printed in English, which is wrong, I want it in Polish. I have calendar_lang.php in Polish.

Any advice on how I solve this?
Please help...


Messages In This Thread
Codeigniter calendar language problem - by El Forum - 08-01-2012, 04:50 AM
Codeigniter calendar language problem - by El Forum - 08-01-2012, 05:37 AM
Codeigniter calendar language problem - by El Forum - 08-02-2012, 03:51 AM
Codeigniter calendar language problem - by El Forum - 08-02-2012, 07:47 PM
Codeigniter calendar language problem - by El Forum - 08-03-2012, 01:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB