Last modified: 2011-01-25 00:39:03 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 T23768, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21768 - Cannot export gettext plural
Cannot export gettext plural
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-06 11:28 UTC by Siebrand Mazeland
Modified: 2011-01-25 00:39 UTC (History)
2 users (show)

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


Attachments

Description Siebrand Mazeland 2009-12-06 11:28:07 UTC
Plural rules should be added automatically from a database kept in the extension if not already present. A file is present, but nothing is done with it yet. If no code is present, a simple plural scenario should be assumed.

Current procedure is to create a dummy file for the language code to have at least a plural definition. Quite tedious.

Example of current error scenario [1]:
* Plural-Forms is missing in the header
* Keys that use plural are tagged as having a problem.

#: lib/command.php:594
msgid "You are subscribed to this person:"
msgid_plural "You are subscribed to these people:"
# Plural problem

[1] http://translatewiki.net/w/i.php?title=Special%3ATranslate&task=export-to-file&group=out-statusnet&language=prg
Comment 1 Niklas Laxström 2010-09-13 16:47:18 UTC
Extension will now insert plural rule, ignoring and tagging messages with illegal plural syntax on export.

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


Navigation
Links