I am using Codeigniter! What would be the best way to translate the names of the months. I have a date in timestamp mysql: 2012-09-22 11:21:53
I can convert it to 'September 22, 2012' using the php date() function. I want to rename 'September' to 'Sentýabr' . Can the set_locale () function do this. By the way, this is Turkmen Language . thanks.
OK, I created some php file to check it as such:
cool.php
<?php setlocale(LC_ALL,'ru_RU'); echo strftime('%B',time()); ?>
September returns. What could be the problem.
I have
setlocale(LC_ALL, 'tk');
and
echo strftime( '%B',time());
Result: returns September
I need to return September in my language
user1607528
source share