[wp-trac] [WordPress Trac] #13187: Twenty Ten support for Plural Forms

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 30 22:19:58 UTC 2010


#13187: Twenty Ten support for Plural Forms
-------------------------+--------------------------------------------------
 Reporter:  zeo          |       Owner:                       
     Type:  enhancement  |      Status:  new                  
 Priority:  normal       |   Milestone:  3.0                  
Component:  Themes       |     Version:                       
 Severity:  normal       |    Keywords:  has-patch 2nd-opinion
-------------------------+--------------------------------------------------
Changes (by dimadin):

 * cc: dimadin (added)


Comment:

 Replying to [comment:1 nacin]:
 > Isn't that the purpose of the 3 different strings passed to
 comments_number()?
 No, with current code, it is asumed that all languages use same word for
 plural but that is not case. You can see example in link zeo left:[[BR]]

 2 комментария[[BR]]

 3 комментария[[BR]]

 4 комментария[[BR]]

 5 комментариев[[BR]]


 You can read more about it
 [http://www.gnu.org/software/hello/manual/gettext/Plural-forms.html here].
 (examples start at "The following rules are known")


 Only thing I would change in zeo's patch is that it would be better to use
 on prinbt functions instead of two.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13187#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list