They just added this feature recently. Gmail automatically detects what language the email was sent in and is preset to translate into English. It’s handy for me since I can’t read Japanese. Normally, I would guess what it was or copy and paste it into Google Translate.
Before using translate feature