Hi Nick,
Maybe I did't explained myself well, but I was looking to modify the built-in feature "Related Entries" that never showed up in my side due to the following "possible bug". I've completely forgot about that feature and started to implement my own as above.
* Possible bug
In WPML enabled site, potfolio related entries are not populated form the database.
* Workaround
In file related-posts.php, around line 51, exclude WPML language filters from the query.
Replace :
$my_query = new WP_Query(array('portfolio_entries'=>$tag_ids, 'showposts'=>$postcount, 'ignore_sticky_posts'=>1, 'orderby'=>'rand', 'post__not_in' => array( $this_id ) ) );
With :
$my_query = new WP_Query(array('portfolio_entries'=>$tag_ids, 'showposts'=>$postcount, 'ignore_sticky_posts'=>1, 'orderby'=>'rand', 'post__not_in' => array( $this_id ),'suppress_filters'=>true ) );
I've just discovered this now, and I'm able to modify the output to ( previous | 1 | 2 | 3 | next ) or what so ever.
I do not know if this is the right solution but worked for me, still open for suggestions or improvements.
Thanks.