Fix plural calculation for Arabic.

Refs #5348
Add reference links to docblock
Merge pull request #5360 from ADmad/i18n-arabic

Fix plural calculation for Arabic