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! :-\

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary 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