Last modified: 2012-12-30 17:17:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40613, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38613 - Multiple plural forms dependent on the number
Multiple plural forms dependent on the number
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.20.x
All All
: Low enhancement (vote)
: Future release
Assigned To: Niklas Laxström
:
Depends on:
Blocks: plural
  Show dependency treegraph
 
Reported: 2012-07-23 21:13 UTC by MF-Warburg
Modified: 2012-12-30 17:17 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MF-Warburg 2012-07-23 21:13:07 UTC
Filing as a bug per http://translatewiki.net/wiki/Thread:Support/MediaWiki:Centralauth-days-ago/tet :

It would be good to have a possibility to use the PLURAL function in such a way that more forms than just singular and plural could be given.

For example, in the message in question, I would need something like:
{{PLURAL:$1|<the word for "one day ago">|<the word for "two days ago">|<the word for "three days ago">|<the word for the regular forms, "$1 days ago">}}
Comment 1 Niklas Laxström 2012-07-24 11:03:31 UTC
Could perhaps extend the syntax to take keys like 1=foo|0=daa
Comment 2 Niklas Laxström 2012-07-30 09:20:16 UTC
Moving to core, this cannot be implemented in Translate.
Comment 3 Nemo 2012-11-20 08:39:11 UTC
This has already been implemented in part, see also http://laxstrom.name/blag/2012/10/29/muir-woods-has-one-tree-plural-issues-in-mediawiki/
MF-Warburg, what do you feel is still (most) needed?
Comment 4 MF-Warburg 2012-11-20 10:48:58 UTC
Well, in case that this http://translatewiki.net/w/i.php?title=MediaWiki:Centralauth-days-ago/tet&action=edit works, I would guess this is solved.
Comment 5 MF-Warburg 2012-12-30 17:12:46 UTC
It indeed works; so I'm marking this as resolved.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links