Post by vasjaciktr » Mon Jun 26, 2017 9:20 pm

Hi. Could you please help me? I need to change anchors of a wishlist and addtocompare buttons. I mean I would like to translate the text of these buttons in another language. I have installed Opencart and package with the neccessary language. Although, on the main page, in the recommended products section these two buttons are not translated and displayed in the same way.

Newbie

Posts

Joined
Fri Jun 23, 2017 12:42 am

Post by IP_CAM » Tue Jun 27, 2017 9:19 am

On your MAIN language File, those two variables probably just don't exist,
in the default english language en-gb.php file, they look like this:
en-gb.php

Code: Select all

$_['button_compare']        = 'Compare this Product';
$_['button_wishlist']       = 'Add to Wish List';
therefore, you have to add those two lines, translated,
into your MAIN Language file, to eventually make it work as planned.
Good Luck ;)
Ernie
PS: And from next time on, better ALWAYS inform about your OC Version and Theme used,
at least, if you expect a useful reply! :-\

Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.ebikes.li - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 2 guests