Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED]SJ K2 Mega News - Position-h1 - date translation.
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: [SOLVED]SJ K2 Mega News - Position-h1 - date translation.

[SOLVED]SJ K2 Mega News - Position-h1 - date translation. 10 years, 1 month ago #16681

Hi.
It's possible to translate date (Month name) in this module ? I have installed my national language file for Joomla and K2 and everywhere date is ok but in this module date is still in English. I have tried to edit language files but there is no Month string.
I think it's something with php in this code but i am not a coder:
<dd class="item-date">
<i class="icon-calendar-empty"></i>
<?php
$date_first = new DateTime($item_first->created);
echo $date_first->format('d M Y');
?>
The topic has been locked.

Re: SJ K2 Mega News - Position-h1 - date translation. 10 years, 1 month ago #16777

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear Henryk Kusztelak,

Please change this code:

echo $date_first->format('d M Y');

=>
echo  $date_first->format(JText::_('DATE_FORMAT_LC3'));


Thanks!
The topic has been locked.

Re: SJ K2 Mega News - Position-h1 - date translation. 10 years, 1 month ago #16780

Hi.
Unfortunately month is still in english. I even try to change Joomla english language file (/language/en-GB/en-GB.ini) with my nation month name but in the modul months was still in egnlish (what is strange because in all language files months was in my language).
The topic has been locked.

Re: SJ K2 Mega News - Position-h1 - date translation. 10 years, 1 month ago #16816

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear Henryk Kusztelak,

Could you please provide us your site access information so that we could check directly.
For the security reason, please enter your site account in
Require Help
From Staff + Mod/Admin?

when you reply this answer.

Thanks!
The topic has been locked.

Re: SJ K2 Mega News - Position-h1 - date translation. 10 years, 1 month ago #16825

And please if you can also check why i can't turn off "less" (after i turn it off all site is broken i think it's menu problem).
Thank You.
The topic has been locked.

Re: SJ K2 Mega News - Position-h1 - date translation. 10 years, 1 month ago #16927

Hi.
Still noting ?
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.25 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes