Share via

Create a multilingual agent in Copilot Studio which can recognized Traditional and Simplified Chinese

mkaa 0 Reputation points
2026-02-13T05:05:56.8833333+00:00

I have created a chatbot that uses English as its default language and would like to make it multilingual, recognizing Traditional Chinese (zh-TW) and Simplified Chinese (zh-CN).

But by my trial, after I create a topic to detect the inputted language, I found that in the condition field, with the custom variable as Topix.x.structedOutput.language, it is able to detect if the prompt is Chinese or not, but not able to detect if it is Traditional Chinese or Simplified Chinese, even User.Language does have these two different variable values.

I have checked the agent's setting page for the entity list and see that under Language, it does include the entity "Chinese", but it has not split it into Traditional or Simplified, and I cannot find the full list of this entity either.

May I ask if anyone knows which entity I should enter under Topix.x.structedOutput.language to have the agent recognize whether the prompt is Traditional Chinese or Simplified Chinese, rather than simply recognizing it as Chinese or not?

Thank you.

Microsoft Copilot | Microsoft 365 Copilot | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-02-13T05:06:06.9166667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To create a multilingual agent in Copilot Studio that can recognize both Traditional Chinese (zh-TW) and Simplified Chinese (zh-CN), you need to ensure that your agent is set up to handle these specific language distinctions. While the agent can detect if the input is Chinese, distinguishing between Traditional and Simplified Chinese requires specific configuration.

    1. Language Detection: When setting up your language detection topic, ensure that your conditions are explicitly checking for the structured output that differentiates between Traditional and Simplified Chinese. You may need to verify that your prompt correctly identifies these languages in the output.
    2. Custom Variables: Instead of using a general variable like Topix.x.structedOutput.language, you should ensure that your prompt's model response is configured to return specific identifiers for both Traditional and Simplified Chinese. This might involve adjusting the prompt instructions to clearly differentiate between the two.
    3. Agent Settings: In your agent's settings, make sure that both Traditional and Simplified Chinese are added as separate languages. This will help the agent recognize and respond appropriately based on the detected language.
    4. Testing: After configuring the conditions and ensuring the correct language variables are in place, test your agent with inputs in both Traditional and Simplified Chinese to confirm that it can distinguish between them accurately.

    If you continue to face issues, consider reviewing the documentation on setting up multilingual agents and language detection to ensure all configurations are correctly applied.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.