• In the features list this plug-in claims to have “Certified compatibility with WPML”. However, WPML itself says it’s NOT in their compatibility list. It’s here in a thread about a problem I encounter too, and which does not have a solution.

    This is the problem: “The translated Game for example will have the translated league and season assigned as it should have, but it will have lost the assigned teams.” (This is pointed out in the link above on January 5, 2021)
    And for that reason, e.g. league tables do not display results on translated pages, because the translated team IDs are different and thus have no games attached.

    • This topic was modified 3 years, 8 months ago by cambofrizz. Reason: more clarification
Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter cambofrizz

    (@cambofrizz)

    Can I send that in a private message? Not sure all the clubs would like to be mentioned here.

    Oh, wait, I can of course do it this way (it’s just a simple string replace):

    function MatchTitle ($text) {
    	$text = str_replace(
    		array('Club A','Club B','Club C'),
    		array('Translated Club A','Translated Club B','Translated Club C'),
    		$text);
    return $text;
    }
    
    if(!is_admin() && ICL_LANGUAGE_CODE=='kh') {
    	add_filter('the_title', 'MatchTitle');
    }
    • This reply was modified 3 years, 7 months ago by cambofrizz.
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Can I send that in a private message? Not sure all the clubs would like to be mentioned here.

    These forums do not have any private messages. Anything you post here, except the link field, will end up in search engine hits.

    Plugin Contributor Savvas

    (@savvasha)

    Ok. I will try to implement something similar at least for the frontend output!

    Thanks for sharing ??

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Certified compatibility with WPML?’ is closed to new replies.