Set locale correctly.