# File lib/cgikit/project/template.rb, line 145
    def write_template
      if @superclass_name and @superclass_name != 'CGIKit::Component' then
        unless str = superclass_template('html') then
          raise "#@superclass_name: Can't find template file"
        end
      elsif @project.japanese? then
        str = template_template_ja
      else
        str = template_template_en
      end
      File.open(template_path, 'w') do |f| f.write(str) end
    end