That would be discrimination of a person indirectly based on their age (personal characteristic you cannot change), which is a big no no.
In order to be non-discriminatory, a person has to be hired according to their ability to do the job, without consideration to their ethnicity, age, skin color, etc. A language can be learned, so requiring someone to speak specific languages to apply is non-discriminatory.