remove wrong setting of $locale
Merge remote-tracking branch 'origin/master' into 1.4.6