There is a little trick to do that, though you must have your entries in module_skins sorted. They should be like this: male, female, male, female, male, female... etc.
So 0,2,4,6,8... will be males.
And 1,3,5,7,9... will be females.
Then you'll need to search for every "troop_get_type" in dialogs and check what variable or register it uses (if I recall correctly most of the times in Native dialogs it was set to reg9). After "troop_get_type" line you'll need to add:
(val_mod, -register_or_variable_that_'troop_get_type'_used- , 2),
If the troop was male (no matter what race), then new value will be 0. If female, the new value will be 1. So with that you'll not have to change dialogs.