Thank you for your answer. Clearly my suggestion was the result of a lack of knowledge of YARPP. I looked at the templates supplied with YARPP and found one 'yarpp-template-wpml.php'. I just made a test and as I expected it works out of the box (I just needed to load the template one time on frontend to get the strings registered, but I guess it is the same with WPML).
So maybe, you should just modify the description of your template to:
An example template for use with the WPML and Polylang plugins
:)