fix locale only for web requests