Background: I have an Angular site, lets say it lives at(Production): aaa.site.com (or localhost:4200) There is a chat page, the chat is inside an iFrame. The chat server lives at(Production): bbb.site.com (or localhost:7078)
More background/What I've done for other parts of site: From the Angular site, I have LOCALE. For other parts of the site I can simply send this from an Angular service through our C# WebApi to get spanish version from DB
My Question is: What is the best way to get these translations? These are my thoughts:
Can this still be done through some kind of API call (assuming that Angular and WebAPI live on a different server than ChatServer) ? Could I send the LOCALE from the Angular service to the WebAPI, then have an ajax call from CHATSERVER that accesses the same method from WebAPI to retrieve LOCALE?
ANGULAR -> API <- CHAT
Since i've been spending hours on this already, I am looking for a general idea of best path to take forward.