Authorities have struggled to contain the blazes which have killed 26 people and damaged scores of buildings.