test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #982658

    Hi
    Go to /templates/ja_megastore/html/com_virtuemart/productdetails/default.php
    Find

    <li><a href="#review" data-toggle="tab">Reviews</a></li>

    replace it with

    <li><a href="#review" data-toggle="tab"><?php echo JText::_('PRODUCT_REVIEW_TITLE') ?>
    </a></li>
    

    Now defined it in the template language file
    Go to /language/en-GB/en-GB.TPL_ja_megastore.ini

    Add this code

    PRODUCT_REVIEW_TITLE = "Reviews"

    Change the reviews with your word .

    khalva Friend
    #982668

    Hi, thank you 🙂

    It was displaying: "Name_OF_A_STRING", but I’ve hard-added it:

    <li><a href="#review" data-toggle="tab">Коментари
    

    And it works fine now. Thank you.
    Solved issue.

    Pankaj Sharma Moderator
    #982676

    By language string you can change it for multilingual site.

    khalva Friend
    #982710

    "By language string you can change it for multilingual site."
    Yes, that’s true but it was displaying something like: "Name_of_a_string", so I decided to hardcode it. Anyway, I’m not gonna rely on multi-lang functionallity in this project.

    Thx for your help.
    Have a happy day 🙂

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

This topic contains 4 replies, has 2 voices, and was last updated by  khalva 8 years, 1 month ago.

The topic ‘How to translate "Reviews" string?’ is closed to new replies.