You can use Gboard's translate feature on an Android device to translate the text you type into dozens of different languages ...
To use Google Translate while offline, you'll need to download the language dictionaries you want onto your phone.