# 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="https://4213294372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo4sRWPX77c58Cw1FjKCI%2Fuploads%2FSfhl7Krbo1tIugIRAyje%2FCapture.png?alt=media&#x26;token=f47422ac-8dd0-4da7-a53c-d751d5a9c5a4" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4213294372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo4sRWPX77c58Cw1FjKCI%2Fuploads%2FCv57ED2GLzVeks7ZlaEw%2FCapture.png?alt=media&#x26;token=7e11a858-72e9-4b09-9502-e0c07765fee1" 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="https://4213294372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo4sRWPX77c58Cw1FjKCI%2Fuploads%2FIJQQbEma1WsKdenXoDrL%2FCapture.png?alt=media&#x26;token=0d7fb7cf-4222-447c-9a63-148f47fbb39f" alt=""><figcaption><p>Users will be prompted to select a language<br>when they first join HoloFair</p></figcaption></figure>
