Fixes meaning of gender value and enforces lower case language codes