I have kept english, hindi and arabic in languages as suggested by you. It is detecting good . But if i invoke a trigger in unity it is in default giving response in arabic. I want it in english. Can you suggest me how to change the default language for trigger events
Hello @Prabhu,
In your Trigger, specify that the response should be in English.
Additionally, if the message is fixed, you can use Speak Tags to ensure the character says the exact text you want:
Example:
<speak>
This is an example sentence in English.
</speak>
Let us know if you need further assistance!
Dear @K3 ,
I am invoking the trigger to call narrative design. There will be multiple triggers. I cannot specify in design. I need to check and add it in unity but it is not working.
Hello @Prabhu,
Why not specify it? You can add it to the Objective of your Trigger in Narrative Design.
Hi @K3 No. I have multiple languages in my project. If i have to do like that then everything will come in english. I want the language according to my selected language
I may have misunderstood your request. What I suggested does not apply to the entire character but only to a specific section. If you want the character to speak English in a particular section, you need to specify it in the Trigger within Narrative Design.
Unfortunately, there is no other method to achieve this at the moment. Let me know if you need further clarification!
Dear @K3 , Are you saying that for each language i have to specify the trigger and sections separately. Someone mentioned previously that we can change the language runtime if we purchase some subscription. I think this might solve the issue without changing anything. Can you please confirm.
Maybe another idea would be to use a Narrative Design Key for the language. You could try to use an instruction in the section:
Use {Language} for this section...
Before you go to this section you set that key to your desired language.
Or is this a bad idea to try?
I think this is a good way. I tested adding to one trigger. I will check completely and let you know if i find any other issue. Thank you for your suggestion
Dear @K3 ,Working as expected with the narrative design. Is there any way to set the language for the common questions asked? While testing some times it is not taking the language.
What you’re referring to is the Character Crafting API, which uses your Core API quota based on your plan.
You can update your character’s languages at runtime.
For more details, please check the Character Update documentation: