In Botswana, one of several countries with laws from British colonial era rule, a hearing is imminent that will challenge a law banning same-sex sexual activity that can result in up to seven years in prison.

Anna Mmolai-Chalmers, coordinator of Legabibo, a member of the International Lesbian, Gay, Bisexual, Trans and Intersex Association, or I.L.G.A., in Botswana that co-hosted the Pan Africa I.L.G.A. regional conference in Gaborone earlier this month, said the success of a recent suit granting a transgender man the right to change his name and gender on official documents might serve as a precedent.

“We are hopeful,” Ms. Mmolai-Chalmers said. “It’s the right environment, the right time. But progress hasn’t been without a fight, without sweat and blood. If we win, it will be a milestone achievement. Living with dignity is a right for all human beings.”

Tunisia formally accepted a recommendation to end the practice of forced examinations to “prove” same-sex sexual conduct. And in Taiwan, marriage equality has come closer to becoming a reality than anywhere else in Asia, according to the I.L.G.A, a Geneva-based group that enjoys consultative status at the United Nations and lobbies for L.G.B.T.G. equality on behalf of more than 1,300 member organizations in 141 countries.

In Bermuda on June 6, the Supreme Court ruled to overturn the nation’s recent same-sex marriage ban. The move amounted to a reversal of a reversal, as the ban was passed about a year after a previous Supreme Court ruling first allowed marriage equality.

India is in the midst of one of the biggest turnarounds. An 1860 colonial law that criminalized same-sex relations as unnatural remained in effect in independent India until 2009 when the Delhi High Court annulled it. In 2013, the Supreme Court overruled that judgment and recriminalized same-sex relations. Arundhati Katju and Menaka Guruswamy, both lawyers, are representing dozens of petitioners in cases that challenge the constitutionality of the law.