hassansin/roundcube-login-language — pull request #1 by petrmifek (2014-08-16 09:56:02+00:00)
Title: Pre-select language based on browser preferences as a fallback.

Hi,

I've made a small tweak for the selection to play nicely with lang auto detection. It might be your original intention as well as the $user_lang variable was unused in the original code? I kept in the last fallback to en_US, though I'm not sure if the code might ever reach that point.

Cheers,
Petr