# Use on multilingual sites

NorrCompetition has multilingual support starting from version 1.3.0.

To enable multilingual support proceed to **contest options** > **General tab** > and set **Multilingual Support** parameter to `Yes`. After you enable this parameter, you will be able to define translations for items within the component.

The correct work of the component with enabled multilingual support requires PHP 7.4 or higher and enabled `mbstring` extension.

By default, multilingual support is disabled.

Here are the screens of some administration sections of component with enabled multilingual feature:

<figure><img src="https://norrnext.com/images/docs/norrcompetition/multilingual/multilingual-contest-min.png" alt="NorrCompetition Contest form"><figcaption><p>Contest Form</p></figcaption></figure>

<figure><img src="https://norrnext.com/images/docs/norrcompetition/multilingual/multilingual-grand-prix-min.png" alt="Entry form"><figcaption><p>Entry Form</p></figcaption></figure>

<figure><img src="https://norrnext.com/images/docs/norrcompetition/multilingual/multilingual-field-min.png" alt="Field Form"><figcaption><p>Field Form</p></figcaption></figure>

The categories section looks a bit different, because it is out of NorrCompetition scope:

<figure><img src="https://norrnext.com/images/docs/norrcompetition/multilingual/multilingual-category-min.png" alt="Category form"><figcaption><p>Category Form</p></figcaption></figure>

{% hint style="info" %}
Always create categories with language set to *All*. Do not bind categories to specific language.\
When you create menu item to All categories, set language to All too.
{% endhint %}

<figure><img src="https://norrnext.com/images/docs/norrcompetition/multilingual/multilingual-categories-menu-item-min.png" alt=""><figcaption><p>Menu item - language should be set to All too</p></figcaption></figure>

As you can see with enabled multilingual support some items has additional tabs with languages to define translations. Multilingual support is bound to installed language packs (localisations), so the count of tabs is also depends on installed language packs.

When you define translations keep in mind that the default (primary) language is English (en-GB). That is why it always is the first in tabs row.


---

# 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.norrnext.com/norrcompetition/best-practices/use-on-multilingual-sites.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.
