RASA output file

We want to translate the output of RASA before viewing it on the screen by calling an API, so we need to know which file is responsible for viewing the output to the user. Or if there is another solution to call this API after predicting action but before viewing it to user?

thanks in advance.