Browser language detection, suitable for multilingual version
[Source author Duanfan, Posted by Amanda] ------------------------------------------------------------------------------------------------------------------------------------------------ -------------------------------------------------- -