The two projects are not comparable
The German proposal was only for the construction of two conventional submarines (diesel-electric propulsion), without the evolution to a nuclear-powered submarine, because Germany does not produce any (it has zero percent of this market). Also there would have been some transfer of technology, design, and maintenance work, but only for construction purposes, and in a limited way.
The French proposal, from DCNS, includes the construction in Brazil of four Scorpène conventional submarines, which will allow the country to develop a submarine with nuclear propulsion, and it includes the transfer of all related technologies, not only for construction of the boats but also for the entire project, including the combat systems. The proposal also includes the design and construction of a site dedicated to the manufacture of nuclear-propelled submarines (and conventional ones as well) and a new naval base able to house them. The nuclear part of submarine is fully national, developed by the Brazilian Navy in a research and development program started in the 1970s.