fix url locale and change default generator config