-
AuthorPosts
-
April 20, 2014 at 1:13 pm #196924pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 20, 2014 at 4:07 pm #531645Hi
To translate the 2 words follow these steps
1) view all
Open this file languageen-GBen-GB.tpl_ja_decor.ini line 230 VIEW_ALL= “View all”
2) view
Open templatesja_decorhtmlmod_articles_categorytriangle.php line 89
<?php if ($params->get('show_readmore')) :?>
<a class="btn btn-default <?php echo $item->active; ?>" href="<?php echo $item->link; ?>">View</a>
<?php endif; ?>
</div>4 users say Thank You to pavit for this useful post
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
April 21, 2014 at 4:01 am #531693@drpcpro ,
<blockquote>
Open templatesja_decorhtmlmod_articles_categorytri angle.php line 89
</blockquote>It’s a bug of template, please change:
<a class="btn btn-default <?php echo $item->active; ?>" href="<?php echo $item->link; ?>">View</a>
to:
<a class="btn btn-default <?php echo $item->active; ?>" href="<?php echo $item->link; ?>"><?php echo JText::_('TPL_VIEW'); ?></a>
in 2 files: “/templates/ja_decorhtml/mod_articles_category/triangle.php” and “/templates/ja_decorhtml/mod_articles_category/normal.php”
Open the “language/en-GB/en-GB.tpl_ja_decor.ini” file and add this code into the end of file:
TPL_VIEW = "View"
The fix will be included in our next update.
1 user says Thank You to MoonSailor for this useful post
September 4, 2014 at 1:48 pm #548290Thank you…I had the same problem, and I fixed the View and View Profile buttons, but I didn’t solve the View All one translating line 230 in languageen-GBen-GB.tpl_ja_decor.ini…can you help me?
Thanks in advancepavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 4, 2014 at 3:29 pm #548317Hi
Could you send me via Private Message a temp super user account for your backend ?
I will try to take a look at it
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 5, 2014 at 9:04 am #548434Hi
<blockquote>but I didn’t solve the View All one translating line 230 in languageen-GBen-GB.tpl_ja_decor.ini…can you help me?</blockquote>
File was still showing View All, was not modified , now i modified it and as you can see it works
September 5, 2014 at 9:15 am #548435Thank you, I modified the same file but in the /language/ folder, not in the templates/ja_decor/language/ folder.
It works, thank youAuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 4 voices, and was last updated by torpedone 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
how to translate "view all" and "view" in mod_articles_category
Viewing 7 posts - 1 through 7 (of 7 total)