fix bug 795760 - Make locale switch work in Firefox