removed lambda parameter for locale setter method