update example and remove typescript for locale exports