guyaloni
guyaloni

Reputation: 5862

i18n Pluralization of a sentence with multiple counts

Looks like I got to a real challenge...

I want to translate the following sentence:

You got XX new messages in YY forums

I already used translation pluralization, but this one is different since instead of array of pluralization I need a n-dimensions matrix when n is number of elements which need to be pluralized, in this case 2.

Any idea??

Upvotes: 2

Views: 1427

Answers (1)

Airat Shigapov
Airat Shigapov

Reputation: 585

You can't pluralize sentence with more than 1 :count. The simplest way to deal with it is to split your sentence into 2 parts: You got XX new messages, in YY forums and pluralize them separately.

Upvotes: 2

Related Questions