-
AuthorPosts
-
Fred Tep Friend
Fred Tep
- Join date:
- September 2014
- Posts:
- 76
- Downloads:
- 46
- Uploads:
- 7
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
September 19, 2014 at 8:25 am #550154Hey there,
Same problem for me. My website as to be in french and in english. I’ve added the fr-FR folder for the translation but it’s still not working. The projets.php file is filled with the correct code : ‘TPL_VIEW_MORE_INFO’
I’m stuck now.
Can anyone help ?Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 22, 2014 at 2:25 am #550309@fredtep: If your site is working both languages, you can try to do with my solution below
Open templates/ja_sugite/html/mod_articles_category/projects.php and templates/ja_sugite/html/mod_articles_category/three-columns.php files
Change
<?php if ($params->get('show_readmore')) :?>
<a class="mod-articles-readmore <?php echo $item->active; ?>" href="<?php echo $item->link; ?>">View more info</a>
<?php endif; ?>To
<?php if ($params->get('show_readmore')) :?>
<a class="mod-articles-readmore <?php echo $item->active; ?>" href="<?php echo $item->link; ?>"><?php echo JText::_('TPL_VIEW_MORE_INFO'); ?></a>
<?php endif; ?>
+ Open language/en-GB/en-GB.tpl_ja_sugite.ini and language/fr-FR/fr-FR.tpl_ja_sugite.ini files and define
In en-GB.tpl_ja_sugite.ini file
TPL_VIEW_MORE_INFO = "View more info"
In fr-FR/fr-FR.tpl_ja_sugite.ini file
TPL_VIEW_MORE_INFO = "Voir plus d'infos"
Fred Tep FriendFred Tep
- Join date:
- September 2014
- Posts:
- 76
- Downloads:
- 46
- Uploads:
- 7
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
September 24, 2014 at 2:56 pm #550623Hi Ninja lead,
I had done that but it’s still not working. Joomla is switching to French (I can see that in the footer) but not the template.
The website is here : http://wha.agence-neko.com/Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 29, 2014 at 10:17 am #550993<em>@fredtep 447150 wrote:</em><blockquote>Hi Ninja lead,
I had done that but it’s still not working. Joomla is switching to French (I can see that in the footer) but not the template.
The website is here : http://wha.agence-neko.com/</blockquote>I just created http://wha.agence-neko.com/language/fr-FR/fr-FR.tpl_ja_sugite.ini file on your site and add new rule
TPL_VIEW_MORE_INFO ="Voir plus d'infos"
Now, you will see it’s working fine on your site, see the screenshot
Fred Tep FriendFred Tep
- Join date:
- September 2014
- Posts:
- 76
- Downloads:
- 46
- Uploads:
- 7
- Thanks:
- 15
- Thanked:
- 2 times in 1 posts
September 30, 2014 at 6:53 am #551092Wonderfull. Thanks for that. I did put this translation in the language folder inside the template folder /templates/ja_sugite/language/fr-FR. but not in the /language/fr-FR.
So now I’m asking myself if there is a reason why it’s not working the way I did.
Anyway it’s working and I won’t bother anyone for that kind of trouble. I’ll try your solution first.Have a fun day and thanks again.
AuthorPostsThis topic contains 21 replies, has 9 voices, and was last updated by Fred Tep 10 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum