# WPML plugin

## 1. Add Language Switchers

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

To add Language Switchers like on Minimog demo to Topbar or Header, follow these steps:

**Step 1:** Go to WPML > Languages > Enable Custom language switchers

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

**Step 2:** Edit Custom Language Switcher > Save

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

\=======================================================================

## 2. String Translation

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

**Step 1:** Go to WPML > String Translation > Scroll to the bottom > Select Translate texts in admin screens

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

**Step 2:** Find the text to be translated in the Search box > Check the found Text and click the Add to String Transition button

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

**Step 3:** Go back to WPML > String Translation, now the added Text is already in the String Translation list and you can translate it.

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

WPML documentation: <https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page>


---

# 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/wpml-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.
