locale should be set only once