You can use Gboard's translate feature on an Android device to translate the text you type into dozens of different languages.