Hello @jeffunik72,
In this case you need use WPML code <?php do_action('icl_language_selector'); ?> to add it to php file.
<?php do_action('icl_language_selector'); ?>
Thank you. Regards, Eva Kemp.