fix bug 795760 - Make locale switch work in Firefox
Merge pull request #797 from darkwing/locale-switcher-795760

fix bug 795760 - Make locale switch work in Firefox