Hi,
I’m facing similar issue with Polylang, Divi 3.19.4 & WP 5.03.
For instance :
<?php pll_the_languages(array( 'dropdown' => 1, 'hide_if_no_translation' => 1) ); ?>
Not working. All languages are always display in the menu even if there is no translation available.
Thank for your help !