[wp-trac] [WordPress Trac] #37789: Strange results in comment number declension

WordPress Trac noreply at wordpress.org
Tue Aug 23 13:00:42 UTC 2016


#37789: Strange results in comment number declension
-------------------------------+------------------------------
 Reporter:  pavelevap          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  I18N               |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by pavelevap):

 Thank you for creating new ticket :-)

 It is not about translation. It is custom made theme with this function
 (without localization) and expected plural is `Komentáře (%)` without
 declension. Throughout the whole theme there should be only `Komentáře
 (number)` text, but there is default WP declension in effect (not wanted
 in this case).

 It was also standard "hack" for previous bug and is commonly used now.

 I can suggest our users for example `gettext` filter to change `on` to
 `off`, but maybe this could be fixed somehow directly (when original
 string in `comments_popup_link()` is not in English or without
 localization)?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37789#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list