Opened 11 years ago
Closed 11 years ago
#13187 closed enhancement (fixed)
Twenty Ten support for Plural Forms
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | has-patch 2nd-opinion |
Focuses: | Cc: |
Description
There are some language (read: Russian) that require plural forms for some string.
See: http://code.google.com/p/kaytwo-i18n/issues/detail?id=1
The question is, does twentyten need to support this?
Attachments (1)
Change History (6)
#2
in reply to:
↑ 1
@
11 years ago
- Cc dimadin added
Replying to nacin:
Isn't that the purpose of the 3 different strings passed to comments_number()?
No, with current code, it is asumed that all languages use same word for plural but that is not case. You can see example in link zeo left:
2 комментария
3 комментария
4 комментария
5 комментариев
You can read more about it here. (examples start at "The following rules are known")
Only thing I would change in zeo's patch is that it would be better to use on prinbt functions instead of two.
#3
@
11 years ago
nacin, at first I really thought comments_number()
would do the job, but then came that ticket on kaytwo-i18n.
dimadin, if u have better patch by all means please share ;)
For the record, we won't be needing "No Responses" string since the comment section only displayed when there's a comment/ping/trackback. see: if ( have_comments() )
.
Any l10n, i18n ninja here?
Isn't that the purpose of the 3 different strings passed to comments_number()?