Add language dropdown to generator.

This is a first pass – it’s probably not quite right yet!