MDL-21469 Chat window uses browser language rather than preferred language set in profile (Kudo to Dongsheng Cai for the patch)