I used it as described in the link above, in functions.php
add_filter('pll_get_post_types', 'my_pll_get_post_types');
function my_pll_get_post_types($types) {
return array_merge($types, array('my-cpt' => 'my-cpt'));
}
Where my-cpt is my custom post type.