While many countries have legalized same sex marriages, including South Africa, in the rest of Africa the question is whether engaging in same-sex sex will be legalized. The Guardian has the story of one step forward and maybe back again in Botswana:
Botswana government to appeal against law legalising gay sex
Attorney general says high court was mistaken in its ruling decriminalising homosexuality
"Botswana’s government will appeal against a high court ruling that decriminalised homosexuality, potentially resuscitating a law that punished gay sex by up to seven years in prison.
"The court’s ruling in June, which was praised by international organisations and activists, meant Botswana joined a handful of African countries that have legalised same-sex relationships.
...
"Same-sex relationships are illegal in more than 70 countries worldwide; almost half of them in Africa, where homosexuality is broadly taboo and persecution is rife.
"Botswana’s ruling came after Kenya’s high court upheld its law banning gay sex, keeping same-sex relations punishable by 14 years in jail, drawing strong criticism from the United Nations and rights activists.
...
Botswana is the latest country in Africa to decriminalise same-sex relations, with Amnesty saying it follows Angola in January, the Seychelles in June 2016, Mozambique in June 2015, and São Tomé and Principe, and Lesotho, in 2012.
South Africa is the only African nation to have legalised gay marriage."
Botswana government to appeal against law legalising gay sex
Attorney general says high court was mistaken in its ruling decriminalising homosexuality
"Botswana’s government will appeal against a high court ruling that decriminalised homosexuality, potentially resuscitating a law that punished gay sex by up to seven years in prison.
"The court’s ruling in June, which was praised by international organisations and activists, meant Botswana joined a handful of African countries that have legalised same-sex relationships.
...
"Same-sex relationships are illegal in more than 70 countries worldwide; almost half of them in Africa, where homosexuality is broadly taboo and persecution is rife.
"Botswana’s ruling came after Kenya’s high court upheld its law banning gay sex, keeping same-sex relations punishable by 14 years in jail, drawing strong criticism from the United Nations and rights activists.
...
Botswana is the latest country in Africa to decriminalise same-sex relations, with Amnesty saying it follows Angola in January, the Seychelles in June 2016, Mozambique in June 2015, and São Tomé and Principe, and Lesotho, in 2012.
South Africa is the only African nation to have legalised gay marriage."