Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • Fred Tep Friend
    #550154

    Hey 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 Moderator
    #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 Friend
    #550623

    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/

    Ninja Lead Moderator
    #550680

    @fredtep: You can pm me admin login of your site and FTP account. I will help you out.

    Ninja Lead Moderator
    #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


    1. View_more_info
    Fred Tep Friend
    #551092

    Wonderfull. 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.

Viewing 6 posts - 16 through 21 (of 21 total)

This topic contains 21 replies, has 9 voices, and was last updated by  Fred Tep 10 years ago.

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