When language is selected as hindi the dynamic responses from APIs are being auto-translated in function, what to do if we don’t want to translate this.
Please use dynamic response in Hindi language in the node .
@Subhrajit_Gupta I am using a function and have put a condition so that dynamic response can be convert to hindi like below
if (status == ‘Order Invoiced’) {
new_status = ‘ऑर्डर इन्वाॅइसड’;
}
else if (status == ‘Order Created & in process’) {
new_status = ‘ऑर्डर क्रिएटेड और इन प्रोसेस’;
}
else if (status == ‘Order Created’) {
new_status = ‘ऑर्डर क्रिएटेड’
}
but these hindi text is also getting converted to hindi again. Therefore the exact text is not coming.
@Pulkit_Jangid, As discussed, Store the output in a variable.
Create a new key in Localisation/Translation section and for both of English and Hindi Languages, Pass the same variable (In which you have stored the output) value in this New Key like
{{{variables.dummy_variable}}}
Now use this new Key in the Flow. The bot will not auto translate the text now.
Please Let me know if you have any queries on the same.
Thanks @Amudhan_S It is wokring