So apperently 'yes' command returns 'y' by default. It was working perfect with English as System Language in Ubuntu. Now I actually got a user who tries to run the software under Ubuntu with the German system language and it doesn't work as expected. It seems that the prompts expect 'j' or 'ja', but 'yes' still delievers 'y'.
Is there a way to make the output of 'yes' language dependent? For now we started using LC_ALL=C in the top of the script. But still evaluating if this is a good solution.