> For the complete documentation index, see [llms.txt](https://guides.polyflow.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.polyflow.co/language-selectors/language-selector-as-buttons-or-links.md).

# Language selector as buttons or links

{% embed url="<https://vimeo.com/759930797>" %}

To add a language selector as buttons or links, you must to select the **"disabled"** option in the language selector in the Polyflow app, then, you must create each button or link and add the following custom attribute to it: "**polyflow-link**" = "**\[LANG ISO CODE]"**

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

{% hint style="info" %}
ISO is a standardized nomenclature used to classify languages, each language is assigned a two or three-letter lowercase abbreviation.

Check out here for a list of ISO codes as you will need to use them to create your language versions: <https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes>
{% endhint %}

For example, if you want to link the English version you must add the following custom attribute to the link element: **"polyflow-link" = "en"**\
Also, if you want to hide that button in the corresponding language, you will have to add a custom Polyflow attribute, **"polyflow-only" = \[ISO CODE]**, to show the button only in the correct language version.

Find [here](/language-custom-content/how-to-show-different-contents-depending-on-the-language-version.md) more information about our attributes, to show or hide content depending on language version.


---

# 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:

```
GET https://guides.polyflow.co/language-selectors/language-selector-as-buttons-or-links.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.
