This document discusses using a domain specific language (DSL) for automatically generating software connectors. It proposes a template system based on a new DSL called ElLang that describes connector elements. The DSL allows writing connector implementations in different programming languages. A generator architecture is presented that uses a Java part to prepare configuration data and a Stratego part to generate source code from templates written in the DSL. The DSL and generator were integrated into the SOFA component model and show promise for generating connectors in any component or non-component system.