Solving locale problem