Algeria is working on new legislation for the transition to green energy as the government aims to support the transformation in all of its aspects, the country's minister of renewable energy Benattou Ziane said on Sunday.