test
Viewing 15 posts - 16 through 30 (of 33 total)
  • Author
    Posts
  • khoand Friend
    #405299

    <em>@s_migui 258493 wrote:</em><blockquote>Thats exactly the same problem I have</blockquote>
    Hi s_migui,
    – You change this code from languageen-GBen-GB.mod_janewspro.ini in the line #147, #50, #52, #73, #116, #115

    CHECK_ALL="Check all"

    INTRO_ITEMS="Intro Items"

    LINK_ITEMS="Link Items"

    SHOW_IMAGE="Show Image"

    SHOW="Show"

    HIDE="Hide"
    – You add this code from languageen-GBen-GB.mod_janewspro.ini

    SAVE="Save"

    CANCEL="Cancela"

    khoand Friend
    #405301

    <em>@piotras100 258496 wrote:</em><blockquote>In thread: “How to translate “MORE” from JA newspro to spanish?” I have found the answer to Settings (Ustawienia) panel and More 🙂

    Now I have to find how to change date on the left top of frontpage from MM DD YYYY to DD MM YYYY and translate: “Last update08:56:01 PM” into Ostatnia aktualizacja: 20:56 ;)</blockquote>
    Hi piotras100,
    You change this code from templatesja_teline_ivblockstopbar.php

    <p class="ja-day clearfix">
    <?php
    echo "<span class="day">".JText::_(strtoupper(date ('D')))."</span>";
    echo "<span class="month">".date ('m')."</span>";
    echo "<span class="date">".date ('d')."</span>";
    echo "<span class="year">".date ('Y')."</span>";
    ?>
    </p>

    <p class="ja-updatetime"><span><?php echo JText::_('Last update')?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>

    piotras100 Friend
    #405477

    Thanks.

    Now I have date in d/m/y format. I have also translated “Last update”, but still I have a wrong time format. Instead of 20:56 I have 08:56:01 PM. Is it possible to change time format? I hope so, but I don’t know where 😉


    1. godzina
    khoand Friend
    #405972

    <em>@piotras100 258787 wrote:</em><blockquote>Thanks.

    Now I have date in d/m/y format. I have also translated “Last update”, but still I have a wrong time format. Instead of 20:56 I have 08:56:01 PM. Is it possible to change time format? I hope so, but I don’t know where ;)</blockquote>

    You replace this code from /plugins/system/jat3/core/common.php file

    return gmdate("h:i:s A", $sec+$tz).' GMT';

    with

    return gmdate("H:i:s", $sec+$tz).' GMT';

    piotras100 Friend
    #406250

    <em>@khoand 259381 wrote:</em><blockquote>You replace this code from /plugins/system/jat3/core/common.php file

    return gmdate("h:i:s A", $sec+$tz).' GMT';

    with

    return gmdate("H:i:s", $sec+$tz).' GMT';
    </blockquote>

    Well… In folder /plugins/system/jat3/ I have no /core/ but I have another /jat3/ and inside I can find /core/common.php file

    But in this file there is no string: return gmdate(“h:i:s A”, $sec+$tz).’ GMT’; 🙁

    Any ideas?


    1. common.zip
    khoand Friend
    #406509

    Thanks for your attached file. It is helpful to find down what happened. You find this code in /language/your-language/your-language.ini (example: en-GB.ini for English language)


    T3_DATE_FORMAT_LASTUPDATE=

    with


    T3_DATE_FORMAT_LASTUPDATE=H:i:s

    <em>@piotras100 259764 wrote:</em><blockquote>Well… In folder /plugins/system/jat3/ I have no /core/ but I have another /jat3/ and inside I can find /core/common.php file

    But in this file there is no string: return gmdate(“h:i:s A”, $sec+$tz).’ GMT’; 🙁

    Any ideas?</blockquote>

    piotras100 Friend
    #406597

    <em>@khoand 260089 wrote:</em><blockquote>Thanks for your attached file. It is helpful to find down what happened. You find this code in /language/your-language/your-language.ini (example: en-GB.ini for English language)


    T3_DATE_FORMAT_LASTUPDATE=

    with


    T3_DATE_FORMAT_LASTUPDATE=H:i:s

    </blockquote>

    I’m afraid there is no “T3_DATE_FORMAT_LASTUPDATE=” in my language ini files. Should I manually add this string?


    1. language-ini.zip
    khoand Friend
    #406821

    You try replace this code from common.php


    return $date->toFormat(JText::_('T3_DATE_FORMAT_LASTUPDATE'), true);

    with


    return $date->toFormat("%H:%M:%S", true);

    piotras100 Friend
    #407465

    <em>@khoand 260490 wrote:</em><blockquote>You try replace this code from common.php


    return $date->toFormat(JText::_('T3_DATE_FORMAT_LASTUPDATE'), true);

    with


    return $date->toFormat("%H:%M:%S", true);

    </blockquote>

    OK. I have done some changes to /plugins/system/jat3/jat3/core/common.php Now I have: return $date->toFormat(“%d.%m %H:%M”, true) and It’s working well.

    * * *

    BTW.
    It would be great if Joomlart team will provide us (international users) a tool/application for translating strings like: Readmore, Read, Last update etc. placed in templates “own” modules and for changing time format and date format and language in ONE PLACE instead of searching many different files in different subfolders after every module or plugin update.

    Dear Joomalart, is it possible?

    Ricardo Miura Friend
    #413908

    I Have the same problem

    khoand Friend
    #414221

    What version of joomla do you use? Could you give me a link to your website?

    Ricardo Miura Friend
    #414298

    <em>@khoand 269592 wrote:</em><blockquote>What version of joomla do you use? Could you give me a link to your website?</blockquote>

    I’m using thw Joomla 1.6 http://www.bikestyle.com.br I have chamge all things in both english and portuguese language…. but the More:, read More… setings… and the others doesent change…

    khoand Friend
    #414400

    To translate Read more…, you find this code from /language/pt-br/pt-br.mod_janews_featured.ini

    READ_MORE="Read more..."
    To translate Setting, More:, you find this code from /language/pt-br/pt-br.mod_janewspro.ini

    SETTING="Setting"

    MORE="More:"
    You change bold text.

    Ricardo Miura Friend
    #414407

    <em>@khoand 269812 wrote:</em><blockquote>To translate Read more…, you find this code from /language/pt-br/pt-br.mod_janews_featured.ini

    READ_MORE="Read more..."
    To translate Setting, More:, you find this code from /language/pt-br/pt-br.mod_janewspro.ini

    SETTING="Setting"

    MORE="More:"
    You change bold text.</blockquote>

    Yes, I know that. But for some reason it isn’t working… I have already change both pt-BR and en-GB and nothing is changing

    khoand Friend
    #414419

    You delete all of files of /cache and /t3-assets directory, please

Viewing 15 posts - 16 through 30 (of 33 total)

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

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