[wp-polyglots] Re: Plural forms (was: gettexted Theme)

Xavier Borderie xavier at borderie.net
Mon Mar 17 12:17:52 GMT 2008


This could also applied to "Published (xx)", since it can take
different values. It would not impact english, but would in French for
instance :
 Publié (0)
 Publié (1)
 Publiés (2)

Right now we are pretty much forced to use "Publié(s) (xx)".

Same for these I guess:
Scheduled (%s)
Pending Review (%s)
Draft (%s)
Private (%s)

These could also be useful:
Already pinged:    ->   Already pinged: %s
Done! <strong>%1$s</strong> categories imported.
Done! <strong>%1$s</strong> users imported.
imported %s
ignored %s
There are currently %1$s comments identified as spam.

...and maybe more :)

Thanks for changing these in time for 2.5 :)

-x.


On 17/03/2008, Nikolay Bachiyski <nbachiyski at developer.bg> wrote:
> 2008/3/17, Abel Cheung <abelcheung at gmail.com>:
>
> > On Sat, Mar 15, 2008 at 6:25 PM, Christian Barmala
>  >  <christian.barmala at gmx.net> wrote:
>  >  > Am 15.03.2008 11:08, wohack schrieb:
>  >  >  > About Poedit
>  >  >  > Here is a brief features list:
>  >  >  > ...
>  >  >  > Plural forms
>  >  >
>  >  >  Am I right, that the simplified WordPress gettext functions "__()" and
>  >  >  "_e()" do *not* support plural forms?
>  >
>  >
>  > Exactly. Use __ngettext() for that, right now it is underused.
>
>
> We tried to fix a lot of the "underusage" recently:
>  http://trac.wordpress.org/ticket/4865
>
>  Patches are more than welcome, Abel!
>
>  Happy ngettexting,
>
> Nikolay.
>
> _______________________________________________
>  wp-polyglots mailing list
>  wp-polyglots at lists.automattic.com
>  http://lists.automattic.com/mailman/listinfo/wp-polyglots
>


-- 
Xavier Borderie


More information about the wp-polyglots mailing list