Configure – Language Selector Screen

RELEASE 12

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.

Config Files:

/<storage>/realwear/com.realwear.languageselector/config/config.json

Format and Options

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:

  • English
  • Spanish
  • French
  • Italian
  • Polish
  • Portuguese (Brazil)
  • Russian
  • Thai
  • Korean
  • Chinese (Mandarin)
  • Chinese (Traditional)
  • Japanese
  • German
  • Indonesian
  • Dutch

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" 
} 
] 
}

Support

Before beginning, you will need the following items to prepare the config file and make changes to the Language Selector Screen:

  1. Locale
  2. Flag
  3. JSON code

Locale

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
Spanishes-ES
Italianit-IT
Frenchfr-FR
Portuguesept-PT
Germande-DE
Polishpl-PL
Russianru-RU
Mandarin Chinesezh-CHS
Japaneseja-JP
Koreanko-KR
Thaith-TH
Indonesianid-ID
Traditional Chinesezh-CHT
Dutchnl-NL

Visit this link for a list of supported languages: https://realwear.com/knowledge-center/configure/selecting-language/

Country Flag Image

Locate the country flag image, then convert and download the image to Base 64 using Base 64 Encode and Decode.

 

JSON

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.