Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.
share|improve this question
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

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/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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