Adding locale mechanism