Hello i want to create multi language bot (Arabic and English) using simple method (i dont know if this applicable or not). i want to make a slot that check if the RegEx of the English letters appears or not and if it appear it should respond by the English response. if it didnt appear response by the Arabic text the issue that i cant have value in the conditional response that contains the RegEx.
entities:
- number
- phone_number
- kind
- English
slots:
English:
type: categorical
values:
- [a-zA-Z]
influence_conversation: False
mappings:
- type: from_entity
entity: English
responses:
utter_greet:
- condition:
- type: slot
name: English
value: [a-zA-Z]
text: Hey! how i can help you?
- text: اهلا, عامل ايه
stories:
- story: hello
steps:
- intent: greet
- action: utter_greet
- intent: affirm
- action: utter_tell_me_more
- intent: deny
- action: utter_goodbye
just want to make the bot check if there any English letters that’s mean you need to respond in English if you didn’t find respond. i hope my topic is clear