-
AuthorPosts
-
sanitarac Friend
sanitarac
- Join date:
- March 2010
- Posts:
- 24
- Downloads:
- 4
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
May 1, 2012 at 10:01 am #176626Where is it?
JACOM_CONTENT_WRITTEN_BYOn 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 1, 2012 at 11:08 am #450859Hi
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 issuewith this string in the correct format the author name is showed correctly
Let me know if this solve your issue
Regards
sanitarac Friendsanitarac
- Join date:
- March 2010
- Posts:
- 24
- Downloads:
- 4
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
May 1, 2012 at 8:52 pm #450911Thanks 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?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 1, 2012 at 9:14 pm #450913Sorry 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 Friendsanitarac
- Join date:
- March 2010
- Posts:
- 24
- Downloads:
- 4
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
May 1, 2012 at 9:23 pm #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 Friendsanitarac
- Join date:
- March 2010
- Posts:
- 24
- Downloads:
- 4
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
May 1, 2012 at 9:33 pm #450915I have just realized that when i make changes to en-GB.tpl_ja_tiris.ini nothing happens, so i have a big problem… 😮
sanitarac Friendsanitarac
- Join date:
- March 2010
- Posts:
- 24
- Downloads:
- 4
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
May 1, 2012 at 9:53 pm #450917Thanks “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>June 1, 2012 at 5:17 pm #455653I 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.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 5, 2012 at 8:14 am #456025Hi 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.
AuthorPostsViewing 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
Jump to forum