# AI-Translate Text label

**Sami Product Labels app** supports translating text labels into different languages. The app now provides a quicker way to **translates label using AI-generator tool.**&#x20;

**Step to manage:**&#x20;

1. Go to **Sami Product Labels** app > **Badges and Labels** section > **Create a text label or text badge**:
2. In the Settings page, choose **Text option** and set up the content for your label:&#x20;

<figure><img src="/files/HycrAgRabjUp5dIyqvpF" alt=""><figcaption></figcaption></figure>

3. After finishing the label content, click on the **Add language** setting > Choose the language you want to set translation for the text label:

<figure><img src="/files/frWebQvCyEpu1FNgZ8GB" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/nsTFO4elWVI0j36UGHHp" alt=""><figcaption></figcaption></figure>

4. Normally, you would need to manually switch between each language tab and edit the corresponding text. However, this process is now much faster, as the app provides an **AI translation tool** directly in the settings.

Click on the **Auto Translate** button (Next to the **Add Language** setting), the texts in each Language tab will be auto-generated:&#x20;

<figure><img src="/files/B8l8dgvFgN0H2YtsGyAw" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/tjSVlYHyNlJSWNJ7qGhm" alt=""><figcaption></figcaption></figure>

5. Finish other settings and conditions for the label and click **Save**:

<figure><img src="/files/cQEqz4kDGx69zsyPS4Ho" alt=""><figcaption></figcaption></figure>

6. You can now check the result in the front store:

Default language:&#x20;

<figure><img src="/files/YvsBf7aSSbx1rJRmttzL" alt=""><figcaption></figcaption></figure>

Chinese language:&#x20;

<figure><img src="/files/T6fLIrOFhc1WdGbS2vbP" alt=""><figcaption></figcaption></figure>

Spanish language:&#x20;

<figure><img src="/files/WNcKsXntfCqYSzXr5Dcn" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.samita.io/badges-and-labels/ai-translate-text-label.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
