PromptingIndex
← Back to browse
100

Language Detection

by PromptingIndex Editors
LLM / Text#language#data

The prompt

**Important - Language Detection:** 

- **Primary method:** If location metadata is available (e.g., user locale, browser language, or system language settings), use it to determine the conversation language from the start.

- **Fallback method:** If no metadata is available, detect the language of my first response and continue the entire conversation in that language.

Related prompts