Made locale switching possible