As we all know, transgender people, regardless of how they’re accepted around the world, are still a tiny minority in comparison to the total population of humans.
I think it’s safe to say they were most likely a minority in all of human history too. What I wonder is how they were viewed, especially in comparison to the wide spectrum of opinions surrounding transgender people in today’s world.
/u/discworldian commented about this a year ago. While you are waiting for an answer you might want to look at the following thread
Adding on to these other recommendations, there's actually a FAQ on transgender and genderqueer individuals in past societie. Definitely check out these older answers from the FAQ:
How credible are claims that Roman Emperor Elagabalus was transgender? by /u/bigfridge224
What do we know of Jewish perceptions of intersex or transgender people in premodern times? by /u/yodatsracist
On the ancient history of transgender identities and crossdressing in Asia by /u/sunagainstgold
More below:
The Bugis are often mentioned in this context, and related questions were touched upon in this AMA by /u/PangeranDipanagara:
https://www.reddit.com/r/AskHistorians/comments/6qw8he/ama_south_sulawesi_13001800/
Maybe they can elaborate on the differences/similarities of modern notions of Trans* and the gender structure in Bugis society.