Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • sanitarac Friend
    #176626

    Where is it?
    JACOM_CONTENT_WRITTEN_BY

    On the article where goes name of author this text stays and i can not find it where can i translate it!

    JACOM_CONTENT_WRITTEN_BY located here:

    templatesjatirishtmlcom_k2templatesja_tiriscategory_item.php (1 hits)
    <span><?php echo JText::_('JACOM_CONTENT_WRITTEN_BY'); ?></span> <a href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>

    templatesjatirishtmlcom_k2templatesja_tiris_blogcategory_item.php (1 hits)
    <span><?php echo JText::_('JACOM_CONTENT_WRITTEN_BY'); ?></span> <a href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>

    And translation of it is here but it does not working! Anyone has this problem too??

    languageen-GBen-GB.tpl_ja_tiris.ini
    JACOM_CONTENT_WRITTEN_BY="By"

    Mine website is LOCALHOST….

    pavit Moderator
    #450859

    Hi

    I have made a couple of test on my localhost and have found that the correct string in languageen-GBen-GB.tpl_ja_tiris.ini is this

    JACOM_CONTENT_WRITTEN_BY="By %s"
    tried to remove this string and i can replicate your issue

    with this string in the correct format the author name is showed correctly

    Let me know if this solve your issue

    Regards

    sanitarac Friend
    #450911

    Thanks for your reply.
    here is the image, sorry for bad english, perhaps u didnt understand mine problem so look at the picture, maybe this will help.
    The picture is from article on the front page.

    It looks like template does not using that file.??? Is it possible? Where can i test it?


    1. problem-string
    pavit Moderator
    #450913

    Sorry but the original string of this file templatesjatirishtmlcom_k2templatesja_tiris_blogcategory_item.php is this


    <span class="catItemAuthor">
    <span class="italic"><?php echo JText::_('By'); ?></span>
    <a href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
    </span>

    why you have the string in that format ?

    if you want modify the language simply change this <?php echo JText::_(‘By’); to something else

    sanitarac Friend
    #450914

    <span class="catItemAuthor">
    <span><?php echo JText::_('JACOM_CONTENT_WRITTEN_BY'); ?></span> <a href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
    </span>

    This is how it looks in ine file…

    The point is that the website will have 4 languages so i really need it in more language file, i shall translate it by myself i really cannot make the easiest editing on main file. Because it will not work on other languages…. :((

    sanitarac Friend
    #450915

    I have just realized that when i make changes to en-GB.tpl_ja_tiris.ini nothing happens, so i have a big problem… 😮

    sanitarac Friend
    #450917

    Thanks “pavit” i found that original template that comes in demo installation has diferent file ( templatesjatirishtmlcom_k2templatesja_tiris_ blogcategory_item.php), so i just replaced the code, like yours:

    <span class="catItemAuthor">
    <span><?php echo JText::_('By'); ?></span> <a href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a>
    </span>

    contentera Friend
    #455653

    I have the same problem. I have installed the spanish translation,was working fine for a short time and then I started having the same problem. any help would be very appreciated.


    1. Captura-de-pantalla-2012-06-01-a-las-11.09.45
    Saguaros Moderator
    #456025

    Hi contentera,

    Did you try with solution of sanitarac? Which version of Joomla are you using? Like English language which has: languageen-GBen-GB.tpl_ja_tiris.ini . You should check this file in your Spanish language folder whether these words are translated into Spanish or not.

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

This topic contains 9 replies, has 4 voices, and was last updated by  Saguaros 12 years, 5 months ago.

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