Reply To: Qtranslate multi-language not working | WP Masonry Layout

Reply To: Qtranslate multi-language not working

Reply To: Qtranslate multi-language not working

Home Forums Lite Version Qtranslate multi-language not working Reply To: Qtranslate multi-language not working

#4698 Reply

Paul

Hello again,
I’ve just found another missing component regarding qTranslate, which I fixed. When you change the language the permalinks to posts do not change. The solution:

in /wp-masonry-layout/themes/default/layout.php

<?php
global $q_config;
$currentWebsiteLanguage = $q_config[‘language’];
?>

And after that modify the links like ?lang=<?php echo $currentWebsiteLanguage; ?>”><?php the_post_thumbnail($shortcodeData[‘wmlo_image_size’]); ?>