GridView summary

Dear Masters,

I have server that running php 5.5.29. But I have problem in GridView summary, it just showing:

Showing {begin, number}-{end, number} of {totalCount, number} {totalCount, plural, one{item} other{item}} items.


When it should be like: "Showing 1-11 of 11 items."

What setting I missed?

Thank you…

I has this same problem month ago. In my case, it is because my server doesnt fulfill this one requirement :

ICU version

Passed Internationalization support

ICU 49.0 or higher is required when you want to use # placeholder in plural rules (for example, plural in Formatter::asRelativeTime()) in the yii\i18n\Formatter class. Your current ICU version is 49.1.2.

To check, just open yourapplication/requirements.php in your browser.

If your icu version status is warning, i believe that is what cause the problem. In my case, the gridview is working fine for language en, en-US, de, es, but show the same as yours for my language ms-MY.

After fix the icu version, problem gone.