Update generate locale script to include the new smarty plugin