> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yaycurrency/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yaycurrency/compatibility/polylang.md).

# Polylang

Polylang is a great plugin for building a multilingual WooCommerce store. It allows the display of different languages in the front end compatible with the different currencies and prices of YayCurrency.&#x20;

In the admin setting of Polylang, you can set up your own language. In this case, we’ve added some languages: English, Netherlands, Italiano, English (UK), and Korean, but you can add as many languages as you need.&#x20;

<figure><img src="/files/1pBciG88r5zYN186MzUo" alt=""><figcaption></figcaption></figure>

With Polylang, you can manually translate the information of products into all languages that have been set. When all is done, it's time to set up the currency switcher.

### Disable "Polylang Compatible" option

When turning off the Polylang add-on function, in the Advanced Setting tab, the product page only translates the language of the customer's choice but unchanged currency and price according to that language.&#x20;

That means, in default mode, YayCurrency detects to set up currency based on the pre-existing IP address or cookies of visitors.

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

When visitors choose English, all information will be translated into English, but the currency still be displayed based on the location of visitors.

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

### Enable "Polylang Compatible" option

Back to YayCurrency, click to enable Polylang Compatible and assign each currency corresponding to each language.

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

When changing the pre-set language with the switcher on the product page, the currency and product price will also change. For example, if visitors choose English, the currency will automatically be displayed in Dollars.

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

Thank the developers of Polylang for the great plugin that integrates with YayCurrency to help the stores sell products to international customers as much as possible!\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.yaycommerce.com/yaycurrency/compatibility/polylang.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
