Skip to content
Public Ticket #29224

Pluralization in Penci Blocks

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

Thank you for your information.

We'll address this issue on version 8.5.5

Regards,
PenciDesign.


netpadrino replied

Customer Reply

If I do this, it will solve the situation at hand, but create another problem. If I go ahead with this change, it will say "1 comments".

Again, the issue is at theme level. You should be applying the pluralized string to the 0 comments case, not the singular string.

Please escalate this to a developer, they will immediately see what is the issue.

PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Appearance → Customize → Quick Text Translations: change the text at these options field:

- Comment,

- Comments.

Regards,
PenciDesign.


PenciDesign Supporter replied

Staff Reply

Hi,

For this case, please send me your WordPress admin account in a PRIVATE reply.
I'll log in and try to help you resolve this issue.

Regards,
PenciDesign.



netpadrino replied

Customer Reply

Hi, looks like this still hasn't been fixed with the latest update? It's starting to get slightly annoying.

PenciDesign Supporter replied

Staff Reply

Hi,

Thank you for your feedback. We'll check this on our testing site and update this ticket when everything is resolved.

Regards,
PenciDesign.


netpadrino replied

Customer Reply

The problem is even present on your demo page - see screenshots. It has to be "0 comments" and not "0 comment".

Translation won't solve this. If I change "comment" to "comments", then it will say "1 comments", which is incorrect. You need to place the pluralized string on the theme level for cases when comments are 0 to correct this.

PenciDesign Supporter replied

Staff Reply

Hi,

1. Please send me the URL that is related to this issue.

2. You can modify the theme text by going to Appearance → Customize → Quick Text Translation.

Regards,
PenciDesign.

netpadrino started the conversation

Conversation Start

Inside Penci Blocks, the word "comment" is not properly pluralized when the comment count is 0.

It should be:

  • 0 comments (plural)
  • 1 comment (singular)
  • 1+n comments (plural)

Want to join this conversation or access attachments? Sign in first.