The funeral of legendary singer Aretha Franklin will be held in her hometown Detroit on 31 August, after a two-day public viewing at a city museum to allow fans to mourn.