Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • piotras100 Friend
    #167269

    On my test site (Joomla 1.6.6) and Teline IV (1.1.1) I have Polish (PL) language as default for site and administrator. I have translated short and long names of days and months in /language/en-GB/en-GB.ini. Unfortunately I have short name of the month in English, but short name of the day (displaying over the year) is in Polish. I don’t know how to change months into Polish…


    1. date-data
    himangi Friend
    #405563

    Hi

    Please check http://www.joomlart.com/forums/topic/how-to-modify-date/ for translating the dates and check if you have done the same thing.

    If the still does not show correctly, please provide your site admin details and ftp details at http://support.joomlart.com/index.php?/Tickets/Ticket/View/78683 so that I can take a look..

    piotras100 Friend
    #406610

    <em>@himangi 258882 wrote:</em><blockquote>Hi

    Please check http://www.joomlart.com/forums/topic/how-to-modify-date/ for translating the dates and check if you have done the same thing.

    If the still does not show correctly, please provide your site admin details and ftp details at http://support.joomlart.com/index.php?/Tickets/Ticket/View/78683 so that I can take a look..</blockquote>

    This link is about Teline III. I have Teline IV and content of its files are different than in posts from this link. So I will use this support link, but i have to provide also user name and password to open my test site and admin. Can I add this to “Message Details”?

    himangi Friend
    #406640

    Hi,

    I checked the details but it seems you have set a htaccess security for your site.. Can you please provide the same, so that I can see the site. I could connect via ftp but havent tried changing anything since I can not see any changes currently.

    piotras100 Friend
    #407089

    <em>@himangi 260262 wrote:</em><blockquote>Hi,

    I checked the details but it seems you have set a htaccess security for your site.. Can you please provide the same, so that I can see the site. I could connect via ftp but havent tried changing anything since I can not see any changes currently.</blockquote>

    Sorry. My mistake – You can find user name and login in my Ticket: #DEO-224-44941.

    himangi Friend
    #407211

    Hi

    The issue is fixed for August.. Here are the changes I made.

    In file templates/ja_teline_iv/blocks/topbar.php, on line 22, I change code from
    <blockquote>echo “<span class=”month”>”.date (‘M’).”</span>”;</blockquote> to <blockquote>echo “<span class=”month”>”.JText::_(date (‘M’)).”</span>”; </blockquote>
    so that the month name will be treated as a language variable.

    In file language/pl-PL/pl-PL.ini, line no 245, I changed <blockquote>AUGUST_SHORT=”Sie” </blockquote>to <blockquote>AUG=”Sie”</blockquote> since date (‘M’) gives you AUG, not aUGUST_SHORT, which is treated as a language variable.
    Now you will need to change the other months accordingly or change the format in topbar.php such that you can use AUGUST_SHORT=”Sie” for translation.

    khoand Friend
    #407234

    Hi,
    You just replace this code from /templates/ja_teline_iv/blocks/topbar.php


    echo "<span class="month">".date ('M')."</span>";

    with


    echo "<span class="month">".JHTML::date(date (''), 'M')."</span>";

    You don’t need to change /language/pl-PL/pl-PL.ini

    piotras100 Friend
    #407442

    <em>@khoand 261027 wrote:</em><blockquote>Hi,
    You just replace this code from /templates/ja_teline_iv/blocks/topbar.php


    echo "<span class="month">".date ('M')."</span>";

    with


    echo "<span class="month">".JHTML::date(date (''), 'M')."</span>";

    You don’t need to change /language/pl-PL/pl-PL.ini</blockquote>

    OK. It’s working 🙂 Thanx!

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

This topic contains 8 replies, has 3 voices, and was last updated by  piotras100 13 years, 2 months ago.

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