Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions aselo-webchat-react-app/configSrc/tz/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"fileAttachment": {
"enabled": true,
"maxFileSize": 16777216,
"acceptedExtensions": ["jpg", "jpeg", "png", "amr", "mp3", "mp4", "pdf", "txt"]
},
"emojiPicker": {
"enabled": true,
"blockedEmojis": []
},
"alwaysOpen": false,
"helplineCode": "tz",
"captureIp": true,
"definitionVersion": "tz-v1"
}
4 changes: 4 additions & 0 deletions aselo-webchat-react-app/configSrc/tz/staging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"environment": "staging",
"aseloBackendUrl": "https://hrm-staging.tl.techmatters.org"
}
10 changes: 10 additions & 0 deletions aselo-webchat-react-app/configSrc/tz/translations/en-US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"WelcomeMessage": "National Child Helpline (116)",
"MessageCanvasTrayContent": "",
"MessageInputDisabledReasonHold": "Thank you very much for this information. We'll transfer you now. Please hold for a counsellor.",
"AutoFirstMessage": "Incoming webchat contact from",
"PreEngagementDescription": "Thank you for contacting National Child Helpline (116). To chat with a counsellor, please type your name and select the Start Chat button.",
"WhatIsYourName": "What is your name?",
"StartChat": "Start Chat!",
"SelectLanguage": "Select your language"
}
10 changes: 10 additions & 0 deletions aselo-webchat-react-app/configSrc/tz/translations/sw_TZ.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"WelcomeMessage": "National Child Helpline (116)",
"MessageCanvasTrayContent": "",
"MessageInputDisabledReasonHold": "Asante sana kwa maelezo haya. Tutakuunganisha sasa. Tafadhali subiri ili kuzungumza na mshauri.",
"AutoFirstMessage": "Mawasiliano ya gumzo la wavuti yanayoingia kutoka",
"PreEngagementDescription": "Asante kwa kuwasiliana na National Child Helpline (116). Ili kuzungumza na mshauri, tafadhali andika jina lako na bonyeza kitufe cha Anza Gumzo.",
"WhatIsYourName": "Jina lako ni nani?",
"StartChat": "Anza Gumzo!",
"SelectLanguage": "Chagua lugha yako"
}
15 changes: 15 additions & 0 deletions aselo-webchat-react-app/configSrc/zm/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"fileAttachment": {
"enabled": true,
"maxFileSize": 16777216,
"acceptedExtensions": ["jpg", "jpeg", "png", "amr", "mp3", "mp4", "pdf", "txt"]
},
"emojiPicker": {
"enabled": true,
"blockedEmojis": []
},
"alwaysOpen": false,
"helplineCode": "zm",
"captureIp": true,
"definitionVersion": "zm-v1"
}
4 changes: 4 additions & 0 deletions aselo-webchat-react-app/configSrc/zm/staging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"environment": "staging",
"aseloBackendUrl": "https://hrm-staging.tl.techmatters.org"
}
15 changes: 15 additions & 0 deletions aselo-webchat-react-app/configSrc/zm/translations/Bemba.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"MessageInputDisabledReasonHold": "Twalamutuma nomba kuli Chimbusa, pembeleni ichimpusa nomba.",
"EntryPointTagLine": "Landeni naifwe",
"PreEngagementDescription": "tiyeni twambeko ilyashi",
"Today": "Lelo",
"InputPlaceHolder": "Taipeni ilyashi",
"WelcomeMessage": "Mwaiseni kuli ChildLine Zambia!",
"Yesterday": "Mailo",
"TypingIndicator": "Ichimbusa chile taipa ilyashi",
"MessageCanvasTrayButton": "Yambeni kutaipa ilyashi imbi",
"MessageCanvasTrayContent": "",
"AutoFirstMessage": "",
"StartChat": "Yambeni ukulanda mukwai!",
"SelectLanguage": "Select your language"
}
15 changes: 15 additions & 0 deletions aselo-webchat-react-app/configSrc/zm/translations/Kaonde.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"MessageInputDisabledReasonHold": "Tusakwimi tuma pembelelai, pacheche ba nkwasho.",
"EntryPointTagLine": "Isambai natweba",
"PreEngagementDescription": "Twayayi tutatule",
"Today": "Lelo",
"InputPlaceHolder": "Lembayi mulubwe",
"WelcomeMessage": "Mwaiyayi mwani ku ChildLine Zambia!",
"Yesterday": "Kesha",
"TypingIndicator": "Nkwasho wena kunemba",
"MessageCanvasTrayButton": "Tatulayi kwisamba kipya kipya",
"MessageCanvasTrayContent": "",
"AutoFirstMessage": "",
"StartChat": "Twayayi twisambe!",
"SelectLanguage": "Select your language"
}
15 changes: 15 additions & 0 deletions aselo-webchat-react-app/configSrc/zm/translations/Lozi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"MessageInputDisabledReasonHold": "Luka kuisa ku mwelezi, u libelele hanyani.",
"EntryPointTagLine": "Alukalise kwa mbola",
"PreEngagementDescription": "A lukaliseni kwa mbola",
"Today": "Lelo",
"InputPlaceHolder": "Nola linusa",
"WelcomeMessage": "Wamuhezwi ku ba ChildLine Zambia!",
"Yesterday": "Mabani",
"TypingIndicator": "Mwelezi wa nola",
"MessageCanvasTrayButton": "Alukalise kwa mbola",
"MessageCanvasTrayContent": "",
"AutoFirstMessage": "Incoming webchat contact from",
"StartChat": "Alukalise kwa mbola!",
"SelectLanguage": "Select your language"
}
15 changes: 15 additions & 0 deletions aselo-webchat-react-app/configSrc/zm/translations/Lunda.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"MessageInputDisabledReasonHold": "Chuna kuitemesha ahembeleliku chanti kundi ankhong'u.",
"EntryPointTagLine": "Tuhanjiki mwani",
"PreEngagementDescription": "Tutachikiku",
"Today": "Lelu",
"InputPlaceHolder": "Sonekenu Muzhimbu",
"WelcomeMessage": "Shikenu mwani kuchota cha ChildLine Zambia!",
"Yesterday": "Haloshi",
"TypingIndicator": "Nkhong'u nakusoneka Muzhimbu",
"MessageCanvasTrayButton": "Tachikenu kuhanjika",
"MessageCanvasTrayContent": "",
"AutoFirstMessage": "",
"StartChat": "Tachikenu kuhanjeka!",
"SelectLanguage": "Select your language"
}
15 changes: 15 additions & 0 deletions aselo-webchat-react-app/configSrc/zm/translations/Nyanja.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"MessageInputDisabledReasonHold": "Chonde tipeleka lamya lanu ku wa uphungu telo dikilani.",
"EntryPointTagLine": "Lankhulisanani nafe!",
"PreEngagementDescription": "Tiyeni tiyembe kulankhulisana",
"Today": "Lelo",
"InputPlaceHolder": "Lembani zimene mufuna kulemba",
"WelcomeMessage": "Mwalandilidwa kuno ku ChildLine Zambia!",
"Yesterday": "Dzulo!",
"TypingIndicator": "Wauphungu alikulemba!",
"MessageCanvasTrayButton": "Yambani nkhani ina!",
"MessageCanvasTrayContent": "",
"AutoFirstMessage": "",
"StartChat": "Yambani kulankhula!",
"SelectLanguage": "Select your language"
}
15 changes: 15 additions & 0 deletions aselo-webchat-react-app/configSrc/zm/translations/Tonga.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"MessageInputDisabledReasonHold": "Tulamuswaanganya lino asikuyumya-yumya/sikulaya. Amujatilile notucimuswaanganya.",
"EntryPointTagLine": "Amubandike andiswe",
"PreEngagementDescription": "Atukanke/atutalike",
"Today": "Sunu",
"InputPlaceHolder": "Lemba",
"WelcomeMessage": "Mwatambulwa ku ChildLine Zambia!",
"Yesterday": "Jilo",
"TypingIndicator": "Sikuyumyayumya watalika kulemba",
"MessageCanvasTrayButton": "Talika mubandi mupya",
"MessageCanvasTrayContent": "",
"AutoFirstMessage": "",
"StartChat": "Atubandike!",
"SelectLanguage": "Select your language"
}
15 changes: 15 additions & 0 deletions aselo-webchat-react-app/configSrc/zm/translations/en-US.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sinehome don't forget to include the displayName for the Counsellor

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"MessageInputDisabledReasonHold": "We'll transfer you now. Please hold for a counsellor.",
"EntryPointTagLine": "Chat with us",
"PreEngagementDescription": "Let's get started",
"Today": "Today",
"InputPlaceHolder": "Type Message",
"WelcomeMessage": "Welcome to ChildLine Zambia!",
"Yesterday": "Yesterday",
"TypingIndicator": "Counselor is typing",
"MessageCanvasTrayButton": "Start New Chat",
"MessageCanvasTrayContent": "",
"AutoFirstMessage": "Incoming webchat contact from",
"StartChat": "Start Chat!",
"SelectLanguage": "Select your language"
}
1 change: 1 addition & 0 deletions twilio-iac/helplines/defaults.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ locals {
enable_external_recordings = false

channel_attributes = {
chat : "/app/twilio-iac/helplines/templates/channel-attributes/chat-conversations.tftpl"
webchat : "/app/twilio-iac/helplines/templates/channel-attributes/webchat.tftpl"
voice : "/app/twilio-iac/helplines/templates/channel-attributes/voice.tftpl"
default : "/app/twilio-iac/helplines/templates/channel-attributes/default.tftpl"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"e2eTestMode": "{{trigger.conversations.ChannelAttributes.pre_engagement_data.e2eTestMode}}",
"ip": "{{trigger.conversations.ChannelAttributes.pre_engagement_data.ip}}",
"firstName": "{{trigger.conversations.ChannelAttributes.from}}",
"channelType": "{{trigger.conversations.ChannelAttributes.channel_type}}",
"channelSid": "{{trigger.conversations.ChannelSid}}",
"helpline": "{{trigger.conversations.ChannelAttributes.pre_engagement_data.helpline}}",
"language":"${task_language}",
"ignoreAgent": "",
"transferTargetType": "",
"preEngagementData": {{trigger.conversations.ChannelAttributes.pre_engagement_data | to_json}},
"memory": {{trigger.conversations.ChannelAttributes.memory | to_json}}
}
14 changes: 11 additions & 3 deletions twilio-iac/helplines/tz/staging.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,35 @@ locals {
channel_flow_vars = {}
chatbot_unique_names = []
},
chat : {
messaging_mode = "conversations"
channel_type = "chat"
contact_identity = ""
templatefile = "/app/twilio-iac/helplines/tz/templates/studio-flows/messaging-blocking-conv.tftpl"
channel_flow_vars = {}
chatbot_unique_names = []
},
facebook_mainland : {
messaging_mode = "conversations"
channel_type = "messenger"
contact_identity = "messenger:565233119996327"
templatefile = "/app/twilio-iac/helplines/tz/templates/studio-flows/messaging-blocking-conv-lambda.tftpl"
templatefile = "/app/twilio-iac/helplines/tz/templates/studio-flows/messaging-blocking-conv.tftpl"
channel_flow_vars = {}
chatbot_unique_names = []
},
facebook_zanzibar : {
messaging_mode = "conversations"
channel_type = "messenger"
contact_identity = "messenger:709371978917654"
templatefile = "/app/twilio-iac/helplines/tz/templates/studio-flows/messaging-blocking-conv-lambda.tftpl"
templatefile = "/app/twilio-iac/helplines/tz/templates/studio-flows/messaging-blocking-conv.tftpl"
channel_flow_vars = {}
chatbot_unique_names = []
},
whatsapp : {
messaging_mode = "conversations"
channel_type = "whatsapp"
contact_identity = "whatsapp:+18454704393"
templatefile = "/app/twilio-iac/helplines/templates/studio-flows/messaging-lex-v3-blocking.tftpl"
templatefile = "/app/twilio-iac/helplines/templates/studio-flows/messaging-lex-v3-blocking-lambda.tftpl"
channel_flow_vars = {}
chatbot_unique_names = []
},
Expand Down
Loading
Loading