Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • vtom Friend
    #163905

    In the JA Rave template is there any possibility the pathway to be translated, because I put You are here in language files, but it is not working it remains just on English.
    The code is in mainnav.php:

    [PHP]<div class=”ja-breadcrums”>
    <strong><?php echo JText::_(‘You are here:’)?></strong><a href=”<?php echo $this->baseurl; ?>”>Home ></a> <jdoc:include type=”module” name=”breadcrumbs” />
    </div>[/PHP]

    How can be You are here and Home link translated and to be used in two languages.

    Thanks

    pritam Friend
    #390958

    Hello,

    Here you have to do some edits in the navhelper.php in the following path

    File Path: pluginssystemjat3base-themesdefaultblocksnavhelper.php copy the navhelper.php and then paste it to

    File Path : templates/ja_rave/blocks Open the navhelper.php and make changes which you want to publish.

    Edit the text ” You are here ” in the following php code. you will see the change in the template.

    Code:

    <?php echo JText::_(‘You are here’)?>

    vtom Friend
    #390959

    <em>@pritam 240057 wrote:</em><blockquote>Hello,

    Here you have to do some edits in the navhelper.php in the following path

    File Path: pluginssystemjat3base-themesdefaultblocksnavhelper.php copy the navhelper.php and then paste it to

    File Path : templates/ja_rave/blocks Open the navhelper.php and make changes which you want to publish.

    Edit the text ” You are here ” in the following php code. you will see the change in the template.

    Code:

    <?php echo JText::_(‘You are here’)?></blockquote>

    But as you said I don’t need to change the pathway, but to translate in order to be multilingual. If I change the pathway the changes will be made on the whole site and I want: You are here to be translated, not just changed.

    Saguaros Moderator
    #391154

    You try adding the following code in your global language ( for example english: its en-GB/en-GB.ini)


    YOU ARE HERE:=Your Text

    vtom Friend
    #391296

    <em>@tienhc 240352 wrote:</em><blockquote>You try adding the following code in your global language ( for example english: its en-GB/en-GB.ini)


    YOU ARE HERE:=Your Text

    </blockquote>

    This works for You are here, because it is translated, but the Home link is still not translated. The code is shown in my first post. Is there any solution to translate this?

    Thank you for your help.

    vtom Friend
    #391787

    Will somebody provide answer?

    benteveo Friend
    #392249

    Go to Module Manager and look for the Breadcrumb. There, you can edit “Text for Home Entry” and put any text you want. Sorry for my bad english. I hope it helps you.

    Phill Moderator
    #392268

    Are you using the J1.5 or the J1.6 version?

    vtom Friend
    #392324

    <em>@benteveo 241786 wrote:</em><blockquote>Go to Module Manager and look for the Breadcrumb. There, you can edit “Text for Home Entry” and put any text you want. Sorry for my bad english. I hope it helps you.</blockquote>

    That will translate, but will not show home link in the breadcrumbs, that is the why I put Home link in the php file.

    <em>@phill luckhurst 241812 wrote:</em><blockquote>Are you using the J1.5 or the J1.6 version?</blockquote>

    1.5

    Phill Moderator
    #392359

    I assume you have added the above code to the mainnav.php file in templates>ja_rave>blocks as it is not there by default?

    What you could do is simple replace the <Home> with <?php echo JText::_(‘Crumbs_Home:’)?>

    Then in your language file add something like

    Crumbs_Home: = Your Translation

    vtom Friend
    #392392

    <em>@phill luckhurst 241928 wrote:</em><blockquote>I assume you have added the above code to the mainnav.php file in templates>ja_rave>blocks as it is not there by default?

    What you could do is simple replace the <Home> with <?php echo JText::_(‘Crumbs_Home:’)?>

    Then in your language file add something like

    Crumbs_Home: = Your Translation</blockquote>

    Thank you very much, this works, but again Home link disappears when you go away from Home.

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

This topic contains 11 replies, has 5 voices, and was last updated by  vtom 13 years, 6 months ago.

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