Paper rejected due to short reference list Recently I submitted a paper to a journal and I got the following feedback from the Editorial Office:


  The reference lists of manuscripts submitted to our journal should include a variety of English-language journals that reflect the diversity of resources in the scholarly field of the manuscript.
  
  I regret to inform you that it was found to be unsuitable for publication because the reference list did not contain sufficiently diverse, English-language sources.


Now, my question is, if some research is novel and does not have much information about it on the internet (for eg, a newly developed algorithm), then how will such papers get published, if the editors reject it on the basis of the size of the reference list rather than focussing on the quality of the manuscript?
the editors reject it on the basis of size of the reference list rather than focussing on the quality of the manuscript.


I think that's a false distinction. From the view of the journal (and most publication outlets I know), one aspect of a manuscript's quality is that it needs to defend its novelty by appropriately considering related work.

The feedback does not mention the size of your reference list, but a lack of diversity, which indicates that your article is limited in the perspective of considered related work. For example, if your algorithm uses a new idea from X to solve a new problem Y and presents applications in Z, you should discuss papers about X, Y (or similar problems), and Z.