The Canadian government has chosen a German company to build Canada’s new submarine fleet.