index.js
function validate(cldr, pluralize) {
  pluralize.formats.forEach(function(key) {
    if (!cldr[key]) throw new Error('translation object missing required key "' + key + '"');
  });
}
function validate(cldr, pluralize) {
  pluralize.formats.forEach(function(key) {
    if (!cldr[key]) throw new Error('translation object missing required key "' + key + '"');
  });
}
function validate ( cldr , pluralize ) { pluralize . formats . forEach ( function ( key ) { if ( ! cldr [ key ] ) throw new Error ( 'translation object missing required key "' + key + '"' ) ; } ) ; }
Validate a cldr against a pluralize function

@param {Object} cldr
@param {Function} pluralize
Validate a cldr against a pluralize function