9

In several languages (eg. Polish) there are more than three grammatical cases used for number and noun, whereas Disqus support only cases "0", "1" and "more". What's the easiest way to implement correct texts of the comment count link in such languages in Disqus?

In Polish comment

  • for 1 goes komentarz,
  • 2-4 and those where number mod 10 is 2-4 komentarze,
  • 0, 5-21 and those where number mod 10 is 5-9 or 0-1 komentarzy.
  • 5
    This is probably a question/feature request that should be directed to Disqus. – Vidar S. Ramdal Nov 8 '13 at 9:58
  • Can't you swap the placement so it is something like "Comments: NUMBER"? – user62101 Apr 11 '14 at 8:28
  • Yes, I can, but I'd like to keep the format of original "NUMBER comment(s)" – maciek Nov 5 '14 at 13:05
1

You may be able to join the Polish translation team and provide additional translations for the cases you're looking for.

https://help.disqus.com/customer/portal/articles/466219-translating-disqus

However, if the tool itself is built with only three conditional cases, Disqus would need to add language-specific cases within "more" in the tool itself before you could associate translation strings with those numbers.

They have a community site which might be a good place to socialize your need.

https://disqus.com/home/channel/discussdisqus/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.