I just did a test with Firefox, if you have a .txt file you can open it in the browser and then use the offline translation.
Could be useful for simple texts but it doesn’t work with other files like .rtf or .doc. Pdfs opened in the browser could be translated but it actually doesn’t work.
Edit: that was a test in firefox for desktop, I don’t think it’s available on mobile.