Thread:Support/Gender

I can use the code NaN undefineds to make singular and plural variations. In English words don't have gender distinction, but in other languages, like Spanish, Galician, it have gender distinction as viewer gender. How is the code to introduce these variations?