The primary reason why countries take refugees in the first place are humanitarian concerns. The EU Charter of Fundamental Human Rights Articles 18 and 19 say:
The right to asylum shall be guaranteed with due respect for the rules of the Geneva Convention of 28 July 1951 and the Protocol of 31 January 1967 relating to the status of refugees and in accordance with the Treaty on European Union and the Treaty on the Functioning of the European Union (hereinafter referred to as ‘the Treaties’).
- Collective expulsions are prohibited.
- No one may be removed, expelled or extradited to a State where there is a serious risk that he or she would be subjected to the death penalty, torture or other inhuman or degrading treatment or punishment.
Saying "we only save people from certain torture and death if they speak our language" would violate this charter.
But when it comes to integrating refugees into the local population, countries do indeed make efforts to help them. Germany, for example, offers both language courses and social integration courses for refugees. Refugees who cannot prove that they already have these skills are expected to take these courses. This is a prerequisite for obtaining a work permit.
Note that the right to asylum is different from regular immigration. When it comes to regular immigrants from non-EU countries, then the EU does indeed apply rigorous meritocratic principles and requires language skills, education and acceptation of cultural values before accepting them. The advantage of being a regular immigrant is that a regular immigrant is not sent back if they are from a country where they are not (or no longer) in danger.