Added language parameter to product size array method in product factory.