> For the complete documentation index, see [llms.txt](https://userguide.luffa.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://userguide.luffa.im/communication/luffas-ai-auto-translation-feature.md).

# Luffa's AI Auto-Translation Feature

Luffa offers a **convenient automatic message translation feature**, allowing received messages to be automatically translated into a specified language. It also supports **voice-to-text conversion before translation**, effectively breaking down language barriers in communication.

**How to Enable Auto-Translation**

* **Long-press Message to Set Up**:\
  Long-press a received message, select **"Translate"** from the options, and follow the prompts to enable automatic translation. Future messages will be translated into the selected language automatically.
* **Set Up from the Input Box**:\
  Locate <img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdJfh5vdVCKfZrYhFngzqyLdOF-1Wootkk5JdjjjxFm9kvHZKQbxWeWGAnEaDGXw4PyNYJuy5VPrlKD9_xuujNS9kV2hit00qXwlSExkLo4c6eHckHjD4zTLeIBmvYAwemyO46t3g?key=iLI_yTNP09zJear23u367Eel" alt="" data-size="line"> the **language icon** next to the message input box, tap it, and select your **target language**. Any incoming messages in a different language will be automatically translated.
* **Set Up from Chat Details**:\
  In private chats, group chats, or channels, go to the **chat details page**, tap <img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdJfh5vdVCKfZrYhFngzqyLdOF-1Wootkk5JdjjjxFm9kvHZKQbxWeWGAnEaDGXw4PyNYJuy5VPrlKD9_xuujNS9kV2hit00qXwlSExkLo4c6eHckHjD4zTLeIBmvYAwemyO46t3g?key=iLI_yTNP09zJear23u367Eel" alt="" data-size="line"> the **translation icon**, and select a **target language**. After setting it, any received messages in different languages will be translated automatically.
