#6351: Inflector not work well for others languages
--------------------------------------------------------------------+-------
    Reporter:  juan_basso                                           |          
Type:  Bug      
      Status:  new                                                  |      
Priority:  High     
   Milestone:  1.2.x.x                                              |     
Component:  Core Libs
     Version:  1.2 Final                                            |      
Severity:  Normal   
    Keywords:  inflector inflection language pluralize singularize  |   
Php_version:  n/a      
Cake_version:  1.2.3                                                |  
--------------------------------------------------------------------+-------
 Inflector work well with English version, but for others languages not
 work. In inflector core has some pre-defined rules, but not applied for
 other languages. For exemple, word 'atlas' in english plural is 'atlases',
 but in portuguese is 'atlas' (uninflected). Putting 'atlas' in
 $uninflectedPlural (and singular) of inflections.php of app, not
 works.[[BR]][[BR]]

 Real case: inflections for portuguese in [1] and test case in
 [2].[[BR]][[BR]]

 [1]
 
http://github.com/jrbasso/cake_ptbr/raw/a1fb0a3312c483036cfbb2f6fa83bc36b65cedd4/config/inflections.php
 [[BR]]
 [2]
 
http://github.com/jrbasso/cake_ptbr/blob/a1fb0a3312c483036cfbb2f6fa83bc36b65cedd4/tests/cases/config/inflections.test.php
 [[BR]][[BR]]

 As this example, have others that cause problems in inflector. Suggestion:
 not include core rules in inflector if app inflector is defined.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6351>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" 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/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to