It looks like YARPP is running before the WordPress init hook completes. As a result, WPML sets the language information after YARPP runs and YARPP loads related posts in the default language.
Can you work on this together with us to make sure that YARPP loads after the WP init completes?
If so, I'll ask WPML's lead developer to join this discussion and check this together.
http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/
What YARPP function have you caught running before the init hook completes? There are a few things that happen on plugin code load, but it's not much. What specifically is the issue?
mihaimihai
Member
Posted 1 year ago #
load_plugin_textdomain
This should normally be called at 'init'.
http://codex.wordpress.org/I18n_for_WordPress_Developers#Choosing_and_loading_a_domain
This allows other plugins to hook in too.
Cheers,
Mihai
Mihai, I'm going to push a beta 3.3.3b1 with what I believe is the fix you're requesting. Could you then check to see if the issue is resolved?