Hello,

the issue with the different plural forms for pages, posts, comments, drafts
etc. ist not easy to solve and requires more experienced WP-programmers than me.

The suggestion from Xavier to distinguish them by appending them a context 
looks easier as it really is. I have found 2 problems:

1. The __ngettext() function, which is used to give the singular/plural form, 
does not know about context pipes. I think we must create a new function e.g. 
_nc() which does the combination of _c() and __ngettext(), that is, it gives 
the singular/plural form according to amount and stripes out everything from 
the pipe | character.

2. At edit-pages.php:76 there is no direct call to __ngettext but an array such 
as:
array(__('Published'), __('Published pages'), __ngettext_noop('Published <span 
class="count">(%s)</span>', 'Published <span class="count">(%s)</span>')),

I do not know how to manage this. 

Best regards,

Francesc
_______________________________________________
wp-polyglots mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-polyglots

Reply via email to