I started working with Devise. Quite an awesome gem. Reading through a neat exchange I was able to do a lot of interesting message customization.
NOW though, I'm running into an intriguing issue with customizing error messages based on noun gender for I18N purposes. Here, I have an error message containing %{resource}, where resource will sub in my model name (user). In French, the word coming before the %{resource} will vary depending on gender. Is there a way for me to branch out to a particular error message based on the %{resource} gender?