pll_the_languages always returns all languages. You don't have to call the function several times.
If I well understood what you want, you should call pll_the_languages with the 'raw' argument and then loop through the obtained array with a 'foreach' instruction.