GK Image Show doesnt translate using WPML

eCommerce WordPress theme to create online shop with WooCommerce support
GK User
Sun Jul 09, 2017 1:05 am
I cannot translate GK Image Show Caption and Description using WPML
User avatar
Expert Boarder

GK User
Sun Jul 09, 2017 1:08 am
Images Doesnt translate in GK Image Show doesnt translate using WPML
User avatar
Expert Boarder

Joshua M
Sun Jul 09, 2017 10:53 pm
Hi,
Try to edit your themes\InStyle\gavern\widgets.imageshow.php file and after this line:
Code: Select all
$images[$i] = get_page_by_title($images[$i], 'OBJECT', 'attachment');

add this one:
Code: Select all
$images[$i] = !empty($images[$i]->ID) ? get_post( apply_filters( 'wpml_object_id', $images[$i]->ID, 'attachment', true ) ) : $images[$i];

Please remember about the full backup first.
User avatar
Moderator

GK User
Wed Jul 12, 2017 4:25 pm
There is another problem i use purchased wpml new version and it doesnt translate text widget or any other widget even if i convert text widget to wpml multilingual there is only dropdown menu but it doesnt switch languages so i must use widget rules plugin and wpml string translation optio until this doesnt solve as a temporary solution
User avatar
Expert Boarder

Joshua M
Thu Jul 13, 2017 7:28 am
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.