# Add preference translation in preferences library

{% hint style="success" %}
**Access Type:** Configuration Tree - Editor

**Premium Feature**: Preference Management Platform
{% endhint %}

The  name and description for a preference can be surfaced in your preferences widget in a variety of languages supported by Didomi. These translations can be surfaced dynamically based on the end-user's browser setting or enforced for all end-users. In this article, we will cover how to add a translation to a preference via the preferences library.

{% hint style="info" %}
Any translation edits performed from the preferences widget will not impact the translations stored for the preference in the preference library. [Click here](/preference-management-platform-pmp/preferences-widgets/manage-preferences-widget-translations.md) for more information on creating and editing preference translations from the preferences widget.
{% endhint %}

Click **Preferences** on the left-hand panel.

<figure><img src="/files/0UXsdwNxNmyGzkKJ1m1B" alt="" width="563"><figcaption></figcaption></figure>

Select the **Configuration Tree** tab on the subsequent page and navigate to the **Preferences Library** panel.&#x20;

<figure><img src="/files/Oaq1O1FArfe9ol4ldnfA" alt="" width="563"><figcaption></figcaption></figure>

Navigate to a preference in your preferences library and select the **ellipsis** icon inline with the preference name. Click **Edit** from the menu.

<figure><img src="/files/B8jg8D5yXzBhgdmIhG2b" alt="" width="348"><figcaption></figcaption></figure>

{% hint style="warning" %}
If the preference has been mapped to a purpose in your configuration tree, a warning will remind you that editing the preference can impact widgets that are utilizing that preference.&#x20;
{% endhint %}

From the preference content section of the page, click **Add a translation +**.

<figure><img src="/files/saN9iUGWKq5hqF92Iy0T" alt="" width="563"><figcaption></figcaption></figure>

In the subsequent modal, use the provided fields to input translations for the following:

* Language
* Preference name
* Preference description

Click **Add** when finished.

<figure><img src="/files/PF9jyQdawcqTBKdsHINP" alt="" width="364"><figcaption></figcaption></figure>

The translation will be added to the preference. Click **Save preference** to confirm the addition.

{% hint style="info" %}
Translations for the preference's values are always added on a per-widget basis. [Click here](/preference-management-platform-pmp/preferences-widgets/manage-preferences-widget-translations.md) for more information.
{% endhint %}

<figure><img src="/files/4YsjvDcM2PGXDz6SrhBh" alt="" width="563"><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.didomi.io/preference-management-platform-pmp/preferences-library/add-preference-translation-in-preferences-library.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.
