added parameter for the localize locale