I am trying to develop a Zendesk Chat application that works in a similar way to the Translate Chat functionality that is already available in Zendesk Chat. The only difference being is that I want to use my own translation provider and the translation might not be available straight away.
I already have the app set up in such a way that if an agent sends a message to a visitor:
1) The message is sent to the visitor chat window.
2) Another message follows up with the translation.
Even though this works, it is not ideal because if the agent follows on with other messages which get translated first, then the chronological order of the translated messages will be out of order and they will make no sense to the visitor.
So my question is, is there a way to append the translation to the original message after it has been sent, so that both the visitors and agents can toggle between the original and translated messages, similar to the way the Translate Chat functionality works and as illustrated in the screenshots below.
Agent see the translation but when they click the show original, they can see the original message
Agent sees the original message, but when they click the show translation, they can see the translated message.
The main thing to note is that the original and translated message should be displayed as one message.
Thank you in advance for any help,
Please sign in to leave a comment.