Page MenuHomePhabricator

Split message breaks sentence structure in translations of "You have new messages"; lack of plural support
Closed, ResolvedPublic


Currently, the OBOD (orange bar of doom) which shows up whenever a user's talk page is modified, uses the following messages for the sentence:
MediaWiki:Youhavenewmessagesfromusers[1] and Mediawiki:newmessageslinkplural[2]

These messages essentially make it impossible to correctly translate MediaWiki:Youhavenewmessagesfromusers into hindi (and by extension, probably other grammatically similar north Indian languages).

The problem is caused by lack of plural support in MediaWiki:Youhavenewmessagesfromusers for $1, ie the number of messages received. The difference is basically equivalent to the english difference of is/are, with sentence structure in MediaWiki:Youhavenewmessagesfromusers needed to be modified based on the number of new messages, which isn't possible since the message doesn't support plural over $1 (as far as I know).

In my opinion, it would be best that these messages be joined into one message, seeing that neither is used elsewhere (the doc doesn't specify any other uses for the messages).


Version: 1.22.0
Severity: normal
Whiteboard: gci2013



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:00 AM
bzimport set Reference to bz53897.

I don't think that merging those messages in an option here because Newmessagesdifflinkplural is used in 2 more messages - youhavenewmessages[1] and youhavenewmessagesmanyusers[2].


Change 99000 had a related patch set uploaded by MegaAlex:
Add {{PLURAL: support for youhavenewmessagesfromusers and youhavenewmessages

Latest patch is the result of the Google Code-In task so please help reviewing this in a timely manner.

Change 99000 merged by jenkins-bot:
Add PLURAL support to youhavenewmessages*