SetupDesignGuide.pdf - Firmware Encoding Index
SetupDesignGuide.pdf - Firmware Encoding Index
SetupDesignGuide.pdf - Firmware Encoding Index
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Setup Design Guide<br />
DRAFT<br />
VFR Sample<br />
IFR Translation<br />
subtitle text = BANANA_STRING; Subtitle Op-Code, 3<br />
This example shows a sample of the type of encoding that happens between<br />
IFR and the string tokens. When a user chooses to display a particular language<br />
it has no effect on the IFR encoding. The infrastructure simply pulls the same<br />
token from a different string section.<br />
ENG<br />
Token 1 “Hello World”<br />
Token 2 “Goodbye World”<br />
Token 3 “I love bananas”<br />
SPA<br />
Token 1 “Hola Mundo”<br />
Token 2 “Adios Mundo”<br />
Token 3 “Yo amo plátanos”<br />
System is in<br />
Spanish mode.<br />
GER<br />
Token 1 “Hallo Welt”<br />
Token 2 “Auf Wiedersehen Welt”<br />
Token 3 “Ich liebe Bananen”<br />
Yo amo plátanos<br />
2.3 How multiple language support is handled<br />
When providing support for multiple setup programs, the varying language support for each program<br />
must be taken in consideration. For instance, if there are three drivers that have exported data to the HII<br />
database, each of them with different language string support, a “Home Page” will be created when the<br />
Configuration Driver is launched. This Configuration Driver will show as its initial page all the drivers<br />
which have exported configuration data and strings.<br />
The order of what is displayed on the initial page is determined by language priority. If a driver<br />
contains strings for the system’s default language setting (determined by the Lang global variable) the<br />
translated name of that driver will be shown at the top of the list. Immediately after that list will be a<br />
list of the drivers in their translated forms. The intention for this is to provide a simple mechanism for a<br />
user to scroll up and down a list of drivers and pick the appropriate driver for their use. Whichever<br />
language choice is made by the user, the language choice made at the initial page will carry forward to<br />
the rest of the pages and strings displayed under the initial page.<br />
17