Microsoft Windows
As illustrated in the diagram at the beginning of this section, each VA Smalltalk locale name maps directly to a pair of language and sublanguage identifier constants. The following table defines the mappings from VA Smalltalk locale definitions to language and sublanguage identifier pairs.
Table 56. Windows platform values and VA Smalltalk locale names
VAST Locale Name
 
Platform Mapping
 
Language
Territory
Language ID
Sublanguage ID
arabic
arabic
-
-
croatian
yugoCroatian
-
-
czech
czechoslovakia
LANG_CZECH
SUBLANG_DEFAULT
danish
denmark
LANG_DANISH
SUBLANG_DEFAULT
dutch
belgium
LANG_DUTCH
SUBLANG_DUTCH_BELGIAN
dutch
netherlands
LANG_DUTCH
SUBLANG_DUTCH
english
australia
LANG_ENGLISH
SUBLANG_ENGLISH_AUS
english
britain
LANG_ENGLISH
SUBLANG_ENGLISH_UK
english
canada
LANG_ENGLISH
SUBLANG_ENGLISH_CAN
english
ireland
LANG_ENGLISH
SUBLANG_ENGLISH_EIRE
english
new zealand
LANG_ENGLISH
SUBLANG_ENGLISH_nz
english
us
LANG_ENGLISH
SUBLANG_ENGLISH_US
estonian
estonia
-
-
faeroese
faeroeIsl
-
-
farsi
iran
-
-
finnish
finland
LANG_FINNISH
SUBLANG_DEFAULT
french
belgium
LANG_FRENCH
SUBLANG_FRENCH_BELGIAN
french
canada
LANG_FRENCH
SUBLANG_FRENCH_CAN- ADIAN
french
france
LANG_RENCH
SUBLANG_FRENCH
french
switzerland
LANG_FRENCH
SUBLANG_FRENCH_SWISS
german
austria
LANG_GERMAN
SUBLANG_GERMAN_AUS- TRIAN
german
germany
LANG_GERMAN
SUBLANG_GERMAN
german
switzerland
LANG_GERMAN
SUBLANG_GERMAN_SWISS
greek
greece
LANG_GREEK
SUBLANG_DEFAULT
hebrew
israel
-
-
hindi
india
-
-
hungarian
hungary
LANG_HUNGARIAN
SUBLANG_DEFAULT
icelandic
iceland
LANG_ICELANDIC
SUBLANG_DEFAULT
italian
italy
LANG_ITALIAN
SUBLANG_ITALIAN
italian
switzerland
LANG_ITALIAN
SUBLANG_ITALIAN_SWISS
japanese
japan
LANG_JAPANESE
SUBLANG_DEFAULT
korean
korea
LANG_KOREAN
SUBLANG_DEFAULT
lappish
lapland
-
-
lettish
latvia
-
-
lithuanian
lithuania
-
-
maltese
malta
-
-
norwegian
norway (Bokmal)
LANG_NORWEGIAN
SUBLANG_NORWEGIAN_BOK- MAL
norwegian
norway (Nynorsk)
LANG_NORWEGIAN
SUBLANG_NORWEGIAN_NY- NORSK
polish
poland
LANG_POLISH
SUBLANG_DEFAULT
portuguese
brazil
LANG_PORTUGUESE
SUBLANG_PORTUGUESE
portuguese
portugal
LANG_PORTUGUESE
SUBLANG_PORTUGUESE_BRA- ZILIAN
russian
russia
LANG_RUSSIAN
SUBLANG_DEFAULT
simpChinese
china
LANG_CHINESE
SUBLANG_CHINESE_SIMPLI- FIED
slovak
czechoslovakia
LANG_SLOVAK
SUBLANG_DEFAULT
spanish
mexico
LANG_SPANISH
SUBLANG_SPANISH_MEXICAN
spanish
spain (Mod)
LANG_SPANISH
SUBLANG_SPANISH_MODERN
spanish
spain (Trad)
LANG_SPANISH
SUBLANG_SPANISH_TRADI- TIONAL
swedish
sweden
LANG_SWEDISH
SUBLANG_DEFAULT
thai
thailand
-
-
tradChinese
taiwan
LANG_CHINESE
SUBLANG_CHINESE_TRADI- TIONAL
turkish
turkey
LANG_TURKISH
SUBLANG_DEFAULT
urdu
pakistan
-
-
Use of the system control panel
NLS information is drawn from the settings of the system control panel. VA Smalltalk recognizes a given locale based upon a specific combination of country and language settings. These parameters are set through the country and language sections of the control panel on Windows.
An attempt to initialize the current locale for a particular locale will fail unless the International control panel has the country and language options set appropriately. For example, on Windows, if English U.S. is the desired locale, the International control panel must have the country set to United States and the Language set to English (American) before the image is started or the locale is manually reinitialized. Note that the language must be set to English (American); that the setting English (International) does not work.
For Windows:
Windows ME unifies the country and language settings into a single selection in the regional control panel, eliminating mismatched language and country selections.
Note:
When information is unavailable from the platform, English U.S. default values are provided. The following table shows the items that are not available from the operating system, along with their default values.
The number of decimal digits specified in the number format section of the International control panel is not used.
The International control panel setting for monetary leading zero is not supported and is ignored.
VA Smalltalk uses the short date format from the International control panel; the long date format is ignored.
 
Table 57. Items not provided by Windows and thir default values
Class
Item
VA Smalltalk default value
LCMessages
noStr
'No'
 
yesStr
'Yes'
 
Last modified date: 05/11/2020