Adding the ability to set and get locale