add locale change support