-
AuthorPosts
-
Minion Friend
Minion
- Join date:
- March 2009
- Posts:
- 57
- Downloads:
- 93
- Uploads:
- 15
- Thanks:
- 4
- Thanked:
- 8 times in 1 posts
January 27, 2011 at 5:53 am #159385Hi,
how translate month in K2 item list or K2 item category list?
I think the names of month and year are in php files (where?), not are in *.ini files 🙁
Look at this (Short month name in circle):
http://www.salsanaboso.cz/#denicek
thanks
Rudolf
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 27, 2011 at 9:02 am #374036dear,
to fix this , open : templatesja_clorishtmlmod_k2_contentja_cloris_blogdefault.php
change these lines:
<span class="date"><?php echo $createDay; ?></span>
<span class="month"><?php echo $createMonth; ?></span>
to:
<span class="date"><?php echo JText::_($createDay); ?></span>
<span class="month"><?php echo JText::_($createMonth); ?></span>
please try.steinar Friendsteinar
- Join date:
- July 2007
- Posts:
- 319
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 11
- Thanked:
- 98 times in 84 posts
January 27, 2011 at 10:53 am #374054Dobry den, Rudolf!
I was about to tell you that the dates are indeed in the language file (your site >> language >> en-GB.ini). I changed january to jxnuary and the month name appeared with an x throughout my site. Just to be sure, I even changed the short form to jxn – but that had no effect at all.
So you are absolutely right, the catItemDateCreated gets its date from somewhere else.
I don’t run into the problem before May, but I sympathize with you. Jan and Feb are rather different from Leden and Únor.
Minion FriendMinion
- Join date:
- March 2009
- Posts:
- 57
- Downloads:
- 93
- Uploads:
- 15
- Thanks:
- 4
- Thanked:
- 8 times in 1 posts
January 29, 2011 at 10:48 am #374359Thanks Hungnd,
The months are in english, even though I have tried your code 🙁
Rudolf
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 1, 2011 at 9:26 am #374706dear pino,
because the translation for the short name of months is missing in your cs-CZ.ini language file. I’ve done some first months for you, please finish the rest.
# Months
JANUARY_SHORT=Led
JANUARY=Leden
JAN=Led
FEBRUARY_SHORT=Úno
FEBRUARY=Únor
FEB=Úno
MARCH_SHORT=Bře
MARCH=Březen
MAR=Bře
APRIL_SHORT=Dub
APRIL=Duben
APR=Dub
MAY_SHORT=Kvě
MAY=Květen
JUNE_SHORT=Čer
JUNE=Červen
JULY_SHORT=Čec
JULY=Červenec
AUGUST_SHORT=Srp
AUGUST=Srpen
SEPTEMBER_SHORT=Zář
SEPTEMBER=Září
OCTOBER_SHORT=Říj
OCTOBER=Říjen
NOVEMBER_SHORT=Lis
NOVEMBER=Listopad
DECEMBER_SHORT=Pro -
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by Minion 13 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum