test
Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • Saguaros Moderator
    #457426

    Hi there,

    Please open this file: /templates/ja_kranos/html/com_k2/kranos_blog/category_blog.php, there should be a snippet of code:

    [PHP]<div class=”catItemReadMore”>
    <a class=”k2ReadMore” href=”<?php echo $this->item->link; ?>”>
    <?php echo JText::_(‘Read more’); ?>
    </a>
    </div>[/PHP]

    change this to:
    [PHP]<div class=”catItemReadMore”>
    <a class=”k2ReadMore” href=”<?php echo $this->item->link; ?>”>
    <?php echo JText::_(‘K2_READ_MORE’); ?>
    </a>
    </div>[/PHP]

    Clean the cache and refresh your site.

    jacardiel Friend
    #457496

    Yes Saguaros, this is the problem.
    I change also in /templates/ja_kranos/html/com_k2/kranos/category_item.php because there is the same problem

    Thanks

    Saguaros Moderator
    #457499

    So, does it work now? 🙂

    dagb Friend
    #458708

    The URL to my dev. domain is http://www.dagbrekke.no/ntm25
    I have tried all earlier suggestoins, but still the text reads as attached screendump shows. You’ll find that page under “Utstillinger-Aktuelle utstillinger”.
    Lines #19-21 in nb-NO.tpl_ja_kranos.ini now reads:
    JACOM_CONTENT_REGISTER_TO_READ_MORE=”Les mer …”
    JACOM_CONTENT_READ_MORE_TITLE=”Les mer om “
    JACOM_CONTENT_READ_MORE=”Les mer”

    …and time is running out for me soon, the client want to go public by July 1….

    DagB


    1. screendump1
    Saguaros Moderator
    #458806

    Dear DagB,

    The cause of this problem is that you change the template’s name but language file still uses the old template’s name so that Read more cannot be translated. I’ve tried to add a new language file with your new template’s name nb-NO.tpl_akz_ntm25-2.iniand it works. Please have a look and let me know if this helps.

    dagb Friend
    #458886

    Yepp, that did the trick … Didn’t think about that one since I have not experiemced the problem earlier. Thank you so much!

    aditecnologia Friend
    #462745

    You should already have solved your problem, what worked for me was.
    I created a file translated from en-GB.tpl_ja_kranos.ini, and included in the list of xml folder pt-BR .. worked perfectly for me.
    What you need is to copy the “en-GB.tpl_ja_kranos.ini”, translate it and put in the folder “es-ES” with the name of “es-ES.tpl_ja_kranos.ini.” then add the line “<filename> es-ES.tpl_ja_kranos.ini </ filename>” in the XML file / language / es-ES / es-ES.xml.

Viewing 7 posts - 16 through 22 (of 22 total)

This topic contains 22 replies, has 4 voices, and was last updated by  aditecnologia 12 years, 4 months ago.

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