114 Chapter 2: TI-83 Plus Specific Information
TI-83 Plus Developer Guide Third Release May 28, 2002
Working with TI Language Localization Applications
TI has made available applications that change the language used for functions
commands and strings, from English to an alternate language. Applications can take
advantage of the language setting by being able to modify their output to match the
current language setting, if desired. The language setting is stored in two bytes of RAM.
The table below matches each language with their corresponding values.
The values are store in RAM locations localLanguage and localLanguage+1.
Language Main language Sub Language
English LANG_ENGLISH SUBLANG_ENGLISH
Danish LANG_DANISH SUBLANG_NEUTRAL
Dutch LANG_DUTCH SUBLANG_DUTCH
Finnish LANG_FINNISH SUBLANG_NEUTRAL
French LANG_FRENCH SUBLANG_FRENCH
German LANG_GERMAN SUBLANG_GERMAN
Hungarian LANG_HUNGARIAN SUBLANG_NEUTRAL
Italian LANG_ITALIAN SUBLANG_ITALIAN
Norwegian LANG_NORWEGIAN SUBLANG_NEUTRAL
Polish LANG_POLISH SUBLANG_NEUTRAL
Portuguese LANG_PORTUGUESE SUBLANG_PORTUGUESE
Spanish LANG_SPANISH SUBLANG_SPANISH
Swedish LANG_SWEDISH SUBLANG_NEUTRAL
Table 2.25: Language Table
For example, check if the current language is Spanish:
LD HL,(localLanguage) ; H = sublang,
; L = main
LD DE,LANG_SPANISH + 256*SUBLANG_SPANISH
;
B_CALL CpHLDE ; compare,Z=1
; if Spanish