Original: In this way they were demonstrating against the plans of the German government to extend the period of producing nuclear power.
Simplified: In this way they were protesting against the plans of the German government to extend the period of producing nuclear power.