my one concern is I want to make this available to everyone and I was hoping I could get away with separate files just so that it's a copy and paste thing, and not a modding the raws thing.
Okay, intersex can mean someone has both sets of genitalia. AFAIK, the likelihood of both working is slim, so an intersex individual might identify as male or female and we could attach their working reproductive organs to that, easily enough. However, they could also identify as genderfluid, sort of in between, a third gender. The concept of a third gender exists in multiple culture (like Hijra as I mentioned) though usually for hijra it actually refers to transfemales, and they use the feminine pronoun. I believe. I haven't done too much homework on hijra itself, so this is based on light reading.
This dwarf identifies as transfemale or this dwarf identifies as transmale would be the lines you are looking for for transsexuals. Since we can't do a swap on reproductive abilities without having a gender that uses the pronouns for those reproductive organs, the castes should be sterile.
Note Intersex can also be someone who does have one set of genitalia but does not fit within the confines of the gender they identify with. This part is newer to me so if I make mistakes, I apologize in advance.
http://www.isna.org/faq/what_is_intersexambiguous genitalia as stated in the link is another example.
What this should translate to in dwarf fortress is merely "She is intersex, and identifies as female." It's important that the appropriate pronoun is used. the pronoun for what the individual identifies as is always used, never the pronoun that matches just their genitalia or reproductive abilities.
So intersex could also potentially be sterile.
in a description for a transfemale dwarf, there should never be him his or he. In the raws, they would have the [FEMALE] tag based on your advice, since otherwise it doesn't play out like that.
I really dislike having to use the sterile option, I just don't think I can modify it any other way. I wonder if I could use an external script with the castes themselves to make it possible for a female partner of transfemale and some genderfluid dwarves to potentially become pregnant.
genderfluid has to have the they them their pronouns. This seems like an all or nothing thing per your advice. I really want to add it, and as much as my grammar nazi mind freaks out seeing plural pronouns used in any other context, using they them their in place of it and its in all contexts seems like the best, if a clunky, solution.
So genderfluid would, frustratingly, have to have the [NO_GENDER] tag? Or did you say that uses the feminine? And then we have this problem where that caste wouldn't ever gain a lover or spouse due to sexuality not including non gendered individuals.
I am not 100% fluent in transgender and intersex issues, btw. So if I have said something wrong, hopefully someone can correct me.