If you're asking about which language I used to produce a specific piece of text, you can tell me the text and I can tell you which language it was generated in.
For example, if you say: "What language did you use to say 'hello'?" I can tell you that I used English.