> ## Documentation Index
> Fetch the complete documentation index at: https://docs.directgvr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Localization

> Localize your DirectGVR client skin.

## Language/Country names

DirectGVR uses ISO 639 compliant language names and ISO 3166 compliant country names.

* ISO 639 Code List [http://www.loc.gov/standards/iso639-2/php/code\_list.php](http://www.loc.gov/standards/iso639-2/php/code_list.php)
* ISO 3166 Compliant Country Names List [http://www.iso.org/iso/country\_codes/iso\_3166\_code\_lists/country\_names\_and\_code\_elements.htm](http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm)

## Localization search order

DirectGVR searches for localization file in the following order. If it can't find a localization file with the first name it will continue to the next.

* \{languageCode}-\{countryCode}.json
* \{languageCode}.json
* en-US.json
* en.json

The default language and country codes are retrieved from the user's profile on the client machine. However, it is possible to change the language strings using the javascript functions `app.setLanguage` and `app.setCountry`.

## File format

The format of the localization files are UTF-8 encoded JSON without the BOM. The JSON structure contains a dictionary of key/value pairs, where the keys are the language string IDs and the values are the translated text for that language string ID. It is not necessary for foreign characters to be HTML entitized so long as the file is encoded in UTF-8.

**Example**

```javascript theme={null}
{
   "_comment": "English (US Only)",
   "UI_Unknown": "Unknown US String"
}
```

> [!NOTE]
>
> Full examples can be found in the template skins.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.