Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Minion Friend
    #159385

    Hi,

    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 Moderator
    #374036

    dear,

    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 Friend
    #374054

    Dobry 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 Friend
    #374359

    Thanks Hungnd,

    The months are in english, even though I have tried your code 🙁

    Rudolf

    Ninja Lead Moderator
    #374706

    dear 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

    Minion Friend
    #374722

    Great, thanks!!!!!

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  Minion 13 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum