See Plural and Gender: you can write something like {{GENDER:$1|only translation}} etc., isn't this good enough?