Resolving VUFIND-633 (auto-detect browser language).
Thanks to Luke O'Sullivan.
Added missing comments.