# Localization

HoloFair currently supports 2 languages: English and Arabic. The langauge can be selected through HoloFair's settings by the user. To display different content for each language, you will need to use LocalizationView.

Create an Empty GameObject and name it "Localization Views". Create a child Object for each language you'd like to support.&#x20;

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

On each langauge, add a LocalizationView and a GuidComponent. Set the target according to the language.&#x20;

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

OnLocaleValid (invoked when the user switches to this language), enable content for this language. Anything from Link Views, Video Views, Image Views, Text Views, or even pre-made Assets and GameObjects. And OnLocaleInvalid, disable them.&#x20;

<figure><img src="/files/G0iA5LvYrqu0Z7hrKhAK" alt=""><figcaption><p>Users will be prompted to select a language<br>when they first join HoloFair</p></figcaption></figure>


---

# 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.holofair.app/development/features/localization.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.
