AI Chat: Language variable is now available

Using the AI Chat function with ChatGPT, Gemini or Claude can be a bit tricky when switching between different (page) languages.
Ideally, you would like the AI to respond in the same language as the question.
Or at least in the same language as the page selection.

To make this work better, use the new object-language-long variable. This will give the AI the language, like English or Svenska.

Add this to the prompt setting:

Reply in the same language as the question. If the language cannot be detected, use $var:object-language-long$

Note: The shorter variable object-language only gives the language shortname, like en or sv. This might not be sufficient for the AI.