For the record, trans terminology did very much exist in the 1940s, although the commonly used term would have been transsexual, not transgender. Not only did terms exist for trans people, medical treatments like HRT existed too. Germany actually had a transgender clinic that was destroyed by the Nazis in the 1930s where trans patients could have received hormones and other care.