Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • sdinizr Friend
    #1041283

    Please, I need to translate the fields DISPLAY, PRODUCT COMPARE , SORT BY and SHOW of Mijoshop store to Portuguese (PT). How can I do it?
    Thank you.

    Saguaros Moderator
    #1041464

    Hi,

    Your site seems to be in offline mode now, could you share the credentials and send me screenshot highlighting the text you want to translate?

    sdinizr Friend
    #1041996

    Hi, screenshot attached.
    On the screenshot you will see some expressions in portuguese and some in english.
    I would like to translate all the expressions in english to portuguese (PT).
    Thank you fro your attention, best regards,
    Sergio.


    1. screen_shot_viabrasilis_pt
    Saguaros Moderator
    #1042211

    You can try to change via this file: [root]/components/com_mijoshop/opencart/catalog/language/english/product/latest.php

    Add field text like this:

    // Text
    $_['text_empty']        = 'There are no products to list.';
    
    $_['text_sort']         = 'Sort By:';
    
    $_['text_compare']      = 'Product Compare:';
    
    $_['text_display']      = 'Display:';
    
    $_['text_limit']        = 'Show:';

    And translate text as you wish.

    sdinizr Friend
    #1042471

    Thank you.
    It worked almost fine but…
    Even including the field:
    $_[‘text_display’] = ‘Formato:’;
    The translation for the word DISPLAY was not showed, it remains in english.
    The other translations was showed.
    Another question:
    In the next version of the site I will include the option for english language.
    Is it a way to put these translation only in the protuguese version?
    Best regards,
    Sergio

    Saguaros Moderator
    #1042601

    Hi Sergio,

    Open the file: [root]/components/com_mijoshop/opencart/catalog/view/theme/bookshop_v3/template/product/latest.tpl

    At approx line 57, look for this line of code:

    <div class="display col-md-2"><strong>Display:</strong>

    change it to:

    <div class="display col-md-2"><strong><?php echo $text_display; ?>:</strong>

    If you use additional language, I think you can clone the foler: [root]/components/com_mijoshop/opencart/catalog/language/english

    and make your own translation for text inside.

    sdinizr Friend
    #1042953

    Thank you.
    It worked.
    Regards.

    Saguaros Moderator
    #1042956

    You’re welcome!!!

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

This topic contains 7 replies, has 2 voices, and was last updated by  Saguaros 6 years, 10 months ago.

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