# Polylang plugin

To translate Text in Theme Options (Example: Topbar Text, Header Text...) using Polylang, follow these steps:

### **1. URL modifications**

Go to Languages > Settings > URL modifications and select the Url option like the image bellow&#x20;

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2F4Rx6RsMO1SVANugpcoub%2FUrl-settings.png?alt=media&#x26;token=fe113ad7-e30c-41a9-b507-352f80c04145" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2FKoiL9hYVgCrim1FyJKhG%2Fpolylang-setting.png?alt=media&#x26;token=b55f1383-34b0-4d20-9668-3a0aaa1a6fe1" alt=""><figcaption></figcaption></figure>

### **2.** String Translation

To translate Text in Theme Options (Example: Topbar Text, Header Text...) using Polylang, follow these steps:

**Step 1:** Go to Languages > Translations > Find the text to be translated in the Search box

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2FoAE0frgOmanVVF48NZHe%2Ftranslate.png?alt=media&#x26;token=d9933ca7-9b78-4f62-8173-2bf7b0c53f34" alt=""><figcaption></figcaption></figure>

**Step 2:** Check the found Text and insert text for separate languages that you have

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2FdAl54fpnqr9BwJPsBCGu%2Ftranslate-2.png?alt=media&#x26;token=f53117af-0b92-4579-8662-d5b542a70f43" alt=""><figcaption></figcaption></figure>

**Step 3:** Press **Save Changes** button when you finish it.


---

# 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://minimog-wp.gitbook.io/minimog-ecommerce-wordpress-theme/faqs/polylang-plugin.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.
