Roadmap Reveal 🗺 What's next for Rocket.Chat, Sep 22

Showing translated messages from an app

Hi there!

I am newbie developing apps for (and in Rocket.Chat integration in general) so probably my question could be a little bit basic and could be already answered in other posts but I honestly couldn’t find the answer searching around this forum and other sources.

My question is regarding to messages/notifications posted from an App. Seems really easy to prepare settings for i18n but, what about writing messages from the application to the user? there is any way to get the user current language (at least from user’s profile) and use it’s language to show information?

I’ve found something about use Tapi18n like rocket does internally but, can I use it from an app? There is some examples about it?

Many thanks in advance if anyone can help me! I’m really stuck about this question.