Now, that's the problematic part, as I mentioned above.

It used to take language variable and match it to one of supported ones. But it will obviously not work with the entries users want to enter (like en_US@euro which is not part of locale -a list). So I had to remove it.

It should not be a problem if users are only selecting languges from YaST menu (than this bloc should not be executed)