GK Products Gallery

eCommerce WordPress theme with various e-store features and WooCommerce support.
GK User
Wed Feb 11, 2015 11:49 pm
Hi,

i would like to translate "Add to cart" in GK Products Gallery Widget in other language.
First i tried to change widgets.product_gallery.php in StoreBox/gavern (line 175)
Code: Select all
echo '<div class="gk-add-to-cart"><div class="gk-add-to-cart-bar"><a href="'.$art_url.'" title="'.strip_tags($art_title).'">'.__('SOMETHING ELSE', GKTPLNAME).'</a></div></div>';


Then i tried in StoreBox/gavern StoreBox.pot line 77
Code: Select all
#: gavern/widgets.product_gallery.php:175
msgid   "SOMETHING ELSE then Add to cart"
msgstr  ""


But still no change in frontend. Could you pleas help :-)
Thanks and regards,

Trebor

"Add to cart" on mouse over. See example:
https://demo.gavick.com/wordpress/storebox/?page_id=2465
User avatar
Fresh Boarder

GK User
Thu Feb 12, 2015 8:25 am
Hello,

Did you save the widget again after your modifications (cache time is set to 60 minutes by default), because both of your changes should work.
User avatar
Moderator

GK User
Wed Feb 18, 2015 9:31 pm
Oh no, i don't think so :-D I'll try again. Thank you very much.
Edit: Yep, after some days i took a look at my site and now it works! Thanks again!!
User avatar
Fresh Boarder


cron