html/js/i18n/jquery.i18n.language.js
function ( number, pluralRules ) {
			var i,
				pluralForms = [ 'zero', 'one', 'two', 'few', 'many', 'other' ],
				pluralFormIndex = 0;

			for ( i = 0; i < pluralForms.length; i++ ) {
				if ( pluralRules[pluralForms[i]] ) {
					if ( pluralRuleParser( pluralRules[pluralForms[i]], number ) ) {
						return pluralFormIndex;
					}

					pluralFormIndex++;
				}
			}

			return pluralFormIndex;
		}
function ( number, pluralRules ) {
			var i,
				pluralForms = [ 'zero', 'one', 'two', 'few', 'many', 'other' ],
				pluralFormIndex = 0;

			for ( i = 0; i < pluralForms.length; i++ ) {
				if ( pluralRules[pluralForms[i]] ) {
					if ( pluralRuleParser( pluralRules[pluralForms[i]], number ) ) {
						return pluralFormIndex;
					}

					pluralFormIndex++;
				}
			}

			return pluralFormIndex;
		}
function ( number , pluralRules ) { var i , pluralForms = [ 'zero' , 'one' , 'two' , 'few' , 'many' , 'other' ] , pluralFormIndex = 0 ; for ( i = 0 ; i < pluralForms . length ; i ++ ) { if ( pluralRules [ pluralForms [ i ] ] ) { if ( pluralRuleParser ( pluralRules [ pluralForms [ i ] ] , number ) ) { return pluralFormIndex ; } pluralFormIndex ++ ; } } return pluralFormIndex ; }
For the number, get the plural for index

@param number
@param pluralRules
@return plural form index
For the number get the plural for index