noun, masculine/feminine/tʁɔ.ɡlɔ.dit/plural: troglodytes
troglodyte is masculine or feminine depending on context in French.
troglodyte
Learned borrowing from Latin Trōglodytae (“cave-dwelling people”), from Ancient Greek τρωγλοδύτης (trōglodútēs, “one who dwells in holes”).