Use interface to set locale