[ http://jira.andromda.org/browse/UMLMETA-66?page=comments#action_12422 ]
     
Cédric Vidal commented on UMLMETA-66:
-------------------------------------

Ruby on Rails supports pluralization, David explains why in: 10 Reasons Rails 
Does Pluralization
http://weblog.rubyonrails.com/archives/2005/08/25/10-reasons-rails-does-pluralization

Here is the pluralize method of Ruby on Rails' Inflector API:
http://api.rubyonrails.com/classes/Inflector.html#M000803

Source code of the pluralization and singularization methods:
http://dev.rubyonrails.org/svn/rails/trunk/activesupport/lib/active_support/inflector.rb

The inflections file:
http://dev.rubyonrails.org/svn/rails/trunk/activesupport/lib/active_support/inflections.rb


> Add pluralization support for languages other than english and enhance 
> english support
> --------------------------------------------------------------------------------------
>
>          Key: UMLMETA-66
>          URL: http://jira.andromda.org/browse/UMLMETA-66
>      Project: UML Metafacades
>         Type: Improvement
>     Versions: 3.1 Final
>     Reporter: Cédric Vidal
>     Assignee: Wouter Zoons

>
> Today, metafacades' names pluralization uses 
> org.andromda.utils.StringUtilsHelper#pluralize(String) which only deals with 
> english, and english words are not always well pluralized, for example, knife 
> is pluralized to knifes instead of knives and child is pluralized to childs 
> instead of children.
> Adding a more complete pluralization support for all languages would be great.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642

Reply via email to