Modern Standard Hindi, commonly referred to as Hindi, is the standardised variety of the Hindustani language written in the Devanagari script. From Wikipedia
The iPhone feature uses Apple’s Translation API for on‑device processing that keeps message text off external servers.