Add locale listener and tests
License comments