# File lib/cgikit/package.rb, line 200
    def path_for_component( name, languages = [] )
      unless dir = name.include?('.') then
        name = "#{name}.*"
      end
      file = File.join(@component_path, '**', name)
      path = file_path(file, languages)
      unless dir then
        path = File.dirname(path)
      end
      path
    end