On Wed, Jul 22, 2009 at 7:37 AM, Franco Catena<[email protected]> wrote:
>
> I also agree with that, I want to make my point cleaner. English is
> not my mother language (if you don't figure it out yet), and
> programming in Rails is often a pleasure, but if you want to program
> in Spanish for example, the pluralization don't work. For example the
> plural of Ciudad (City) is Ciudades, but is pluralized as Ciudads
> (awful). I asume that the question was for one problem like this, i
> don't "support" not follow the conventions either.

But you can teach the inflector to handle this by giving proper
pluralizations of words.

It would be nice it there was support to do this en masse for a given
language but it's not easy.
http://www.facebook.com/note.php?note_id=96630332477

But doing it for the specific words which need to be handled in a
given app (mostly model names) is certainly possible in most cases,
and shouldn't require taking the approach of disabling pluralization.

-- 
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to