K2 article dates format

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Apr 14, 2014 8:08 pm
Reply with quote
Report this post
In the K2 article view there is a black box showing the creating date in the format "3rd Feb". How do I translate this? I have downloaded the Swedish language pack for K2, and other elements are translated correctly, but not this. I guess this is template specific? Can I change this in templates/gk_gamenews/html/com_k2/templates/default/item.php?
User avatar
Junior Boarder

GK User
Tue Apr 15, 2014 7:54 am
Reply with quote
Report this post
Could you please check if on default Beeze template translation works correctly?
User avatar
Moderator

GK User
Tue Apr 15, 2014 2:13 pm
Reply with quote
Report this post
It does indeed. The black box with the date i MO template specific.

This image might clarify what black box I am talking about :-)

Image
User avatar
Junior Boarder

GK User
Wed Apr 16, 2014 12:40 pm
Reply with quote
Report this post
Any suggestions on how to change this date format?
User avatar
Junior Boarder

GK User
Wed Apr 16, 2014 10:01 pm
Reply with quote
Report this post
This is the relevant code from templates/gk_mo/html/com_k2/templates/default/item.php:
Code: Select all
<?php echo JHTML::_('date', $this->item->created, JText::_('jS')); ?> <span><?php echo JHTML::_('date', $this->item->created, JText::_('M')); ?>


Why is the output from this not localized?
User avatar
Junior Boarder

GK User
Fri Apr 25, 2014 2:21 pm
Reply with quote
Report this post
Sorry for late answer.
Could you explain step by step how did you do the localisation process?
User avatar
Moderator


cron