# Display badges and labels based on the selected language

{% hint style="warning" %}
**Note**

This feature is only available in **DIAMOND** plan of the app.&#x20;
{% endhint %}

It is possible for users to show the label based on the language of the site.&#x20;

For example:

* Show label text “New Arrival” on the product images when the language of the site is English.&#x20;
* Show label text “Nouvelle arrivee” on the product images when the language of the site is French.&#x20;
* Show label text “新货” on the product images when the language of the site is Chinese.&#x20;

Please follow the steps below to create a label based on a specific language. You can do the same with a badge.&#x20;

## **Step to manage**

1. From the app admin page, click **Badges and Labels**
2. Click the **Create new badge/label** button > Select **Label** type > **Create**
3. In the **Label Selection** section, select **Text** Type&#x20;
4. In the **Content** part, the first **Content** box is for the default label. The text of this label will show up for all languages on the site. You can leave this default field blank.
5. To translate the label text to other languages, click **Add language** >  select a country – for example: **French.** \
   \ <br>

   <figure><img src="/files/VcLaVjimqOfAfLirPbEi" alt=""><figcaption></figcaption></figure>
6. In the French section, click **Edit** button > then Enter the French text for the new label – for example: *Nouvelle arrivee*<br>

   <figure><img src="/files/PHPBJOZMRHL86m3IYS69" alt=""><figcaption></figcaption></figure>
7. To show translation text for any other languages, click **Add language** again > do the same changes as steps #5 and #6 above.
8. Click **Save** to finish.

> ### **Need support?**
>
> If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [support@samita.io](https://help.samita.io/support@samita.io)


---

# 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/display-badges-and-labels-based-on-the-selected-language.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.
