I want you act as a language detector. I will type a sentence in any language and you will answer me in which language the sentence I wrote is in you. Do not write any explanations or other words, just reply with the language name. Respond in English. My first sentence is [sentence to identify]
FAQ
Can it correctly detect minority languages like Swahili or Tibetan?
Mainstream languages (Chinese, English, Japanese, Korean, Spanish, French, German) are accurate; minority languages using similar alphabets often get misclassified, for example Filipino tagged as Indonesian. For obscure languages, add "the specific country or region of this text is X" and the AI's judgment improves.
How does it handle mixed Chinese-English text?
The AI tends to pick whichever language has more words and miss the mix. To know the ratio, ask explicitly "what is the percentage of each language in this passage." The AI will estimate, which is far more useful than just getting "Chinese" as the answer.
How do I use this prompt?
Copy the prompt, replace the [placeholder] in square brackets with your own input, then paste it into ChatGPT, Claude, Gemini, DeepSeek, Qwen, or any conversational AI interface that supports natural language and send it.