move locale change to be global for perf
4 files changed