What language is this?
Or
What is this language?
Which sentence is grammatically right or are both of them right but just with different meanings?
Both are correct, such that;
I think, in the first question, the word language is emphasized more than it is in the second one.