I'm looking for a simple-proper-elegant way to handle grammatical gender with Gettext in a Rails application, the same way plurals are handled with n_() method.
This has no interest in english, since words don't vary with gender, but it does when translating into spanish. His / her is a good use case in english. This is really needed when translating into spanish.
An example:
Considering users Pablo (male) and María (female).
_('%{user} is tall') & {:user => user.name}
Should be translated to
'Pablo es alto'
'María es alta'
Of course, we have access to user.gender
Any ideas?
Cheers!