Add getter for locale