Adding addLocaleObject method