How to prompt ChatGPT to respond based on the language of the text

What prompt should I feed into ChatGPT that would make it generate a response based on the language of the text, and if the language is English, respond in that specific type (e.g. British vs American).

I tried inputting the following in the user prompt but it is still responding in American English (e.g. visualize vs visualise.):

If the following text is in British English, respond in British English : {text}

Welcome to the community @sally1

ChatGPT is known to have been instructed with the following system message:
"You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible. Knowledge cutoff: {knowledge_cutoff} Current date: {current_date}"

You can alter it to something like:
"You are ChatGPT, a large language model trained by OpenAI. Answer in user's language as concisely as possible. Knowledge cutoff: {knowledge_cutoff} Current date: {current_date}"

Consider reading docs .

1 Like