generate.rb working with 2 languages AND ERB template