For a translation app with a keyboard extension to translate text in messaging apps, the best choice is iTranslate. This translation app, which covers more than 100 languages, has a keyboard extension for translating text in messaging apps. It also has other features like voice translation, offline support for several languages, and multiple output voices, so it's a good all-purpose tool for people who need to translate languages in real time.
Another tool that's useful is Texts, a messaging app that consolidates messages from multiple services into one inbox. It has AI-powered features like chat summaries and translation, and a variety of productivity features like chat search, archiving and customizable UI. It doesn't have a keyboard extension per se, but its translation feature can help you with messaging on multiple services.
If you're looking for a broader productivity suite with translation abilities, Auri is also worth a look. It includes a multilingual AI Keyboard that supports more than 80 languages, and it has features like writing, translation, paraphrasing and grammar checking. The suite also includes voice dictation, smart notes and text-to-speech, so it's a good tool for writing and communication.