add locale message support