fix bug 795760 - Make locale switch work in Firefox

https://bugzilla.mozilla.org/show_bug.cgi?id=795760