[wp-trac] Re: [WordPress Trac] #3663: ngettext dislikes formatted
numbers
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 25 12:34:13 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 |
----------------------------+-----------------------------------------------
Comment (by nbachiyski):
Replying to [comment:1 markjaquith]:
> 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)
That is why I wanted to remove the formatting. It will be a little burden
for translators to dig into {{{number_format}}} options. On the other side
it would be nice to have formatted numbers. If you say so, we will arange
the things for translators :-)
--
Ticket URL: <http://trac.wordpress.org/ticket/3663#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list