-
AuthorPosts
-
June 12, 2017 at 7:28 am #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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 13, 2017 at 4:23 am #1041464Hi,
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?
June 15, 2017 at 7:36 am #1041996Hi, 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.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 16, 2017 at 3:03 am #1042211You 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.
June 17, 2017 at 3:17 pm #1042471Thank 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,
SergioSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 19, 2017 at 2:17 am #1042601Hi 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.
June 20, 2017 at 7:44 am #1042953Thank you.
It worked.
Regards.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 20, 2017 at 7:48 am #1042956You’re welcome!!!
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 7 replies, has 2 voices, and was last updated by Saguaros 7 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Translate DISPLAY, PRODUCT COMPARE , SORT BY and SHOW fields in Mijoshop store
Viewing 8 posts - 1 through 8 (of 8 total)