This article has been updated to reflect software changes implemented in Release 12. For instructions on updating your device, please see Wireless Update. For more information on Release 12, please see Release Notes.
/<storage>/realwear/com.realwear.languageselector/config/config.json
While the HMT running Release 12 or higher supports 15 languages, you may want to eliminate those you don’t need regularly from the Language Selector, or modify the image used to identify any or all of those available. Locales must match those found on Android, and images defined for the language image must be encoded in Base 64 format strings.
HMT Supported Languages on Release 12:
languages: a list of languages defined as available to the HMT
locale: location/language identifier using standard Android format
flag: image to be shown with the language option, in Base 64 encoded format.
Example json file:
{ "languages": [ { "locale": "en_GB", "flag": "base 64 encoded image" }, { "locale": "es_ES", "flag": "base 64 encoded image" } ] }
Before beginning, you will need the following items to prepare the config file and make changes to the Language Selector Screen:
The table below contains a list of locales which can be used:
English (USA) | en-US |
English (Great Britain) | en-GB |
English (Australia) | en-AU |
English (India) | en-IN |
Spanish | es-ES |
Italian | it-IT |
French | fr-FR |
Portuguese | pt-PT |
German | de-DE |
Polish | pl-PL |
Russian | ru-RU |
Mandarin Chinese | zh-CHS |
Japanese | ja-JP |
Korean | ko-KR |
Thai | th-TH |
Indonesian | id-ID |
Traditional Chinese | zh-CHT |
Dutch | nl-NL |
Visit this link for a list of supported languages: https://realwear.com/knowledge-center/configure/selecting-language/
Locate the country flag image, then convert and download the image to Base 64 using Base 64 Encode and Decode.
Create your JSON code in a text file.
Example json file:
{ "languages": [ { "locale": "en_GB", "flag": "base 64 encoded image" }, { "locale": "es_ES", "flag": "base 64 encoded image" } ] }
Once you’ve created the file, save the text file as config.json. Connect your HMT to your computer using a data cable, then transfer config.json to the following location: /<storage>/realwear/com.realwear/languageselector/config/config.json.
If you are unable to locate this file path on your HMT, create a new folder to match the path outlined above.