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
- ISO 3166 Compliant Country Names List 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
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. ExampleFull examples can be found in the template skins.

