[wp-trac] Re: [WordPress Trac] #3663: ngettext dislikes formatted numbers

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 24 23:49:54 GMT 2007


#3663: ngettext dislikes formatted numbers
----------------------------+-----------------------------------------------
 Reporter:  nbachiyski      |        Owner:  markjaquith
     Type:  defect          |       Status:  assigned   
 Priority:  normal          |    Milestone:  2.2        
Component:  Administration  |      Version:  2.1        
 Severity:  normal          |   Resolution:             
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Changes (by markjaquith):

  * status:  new => assigned
  * owner:  anonymous => markjaquith

Comment:

 Why can't we pass non-{{{number_format()}}}'d version to {{{ngettext}}}
 and then use the {{{number_format()}}}'d version in the {{{sprintf()}}} ?
 See patch.

 Also... shouldn't we provide a function like {{{___number_format()}}} so
 that translators can provide for a locale's number formatting?  For
 instance, in India they format numbers differently.  (open a separate
 ticket if you agree)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3663#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list