System-Localization

ISOLanguageDefinition
An ISOLanguageDefinition is xxxxxxxxx.
Instance Variables
iso2: <Object>
iso3: <Object>
iso3Alternate: <Object>
language: <Object>
iso2
- xxxxx
iso3
- xxxxx
iso3Alternate
- xxxxx
language
- xxxxx
buildIso3166CodesTables
extraCountryDefinitions
extraISO3Definitions
initISO3LanguageTable
initISOCountries
initialize
Subclasses should redefine this method to perform initializations on instance creation
iso2
iso2:
iso2Countries
iso2LanguageDefinition:
iso2LanguageTable
iso3
iso3166Codes
iso3:
iso3Alternate
iso3Alternate:
iso3Countries
iso3LanguageDefinition:
iso3LanguageTable
isoLanguages
language
language:
readISOLanguagesFrom:
Locale
Main comment stating the purpose of this class and relevant relationship to other classes.
http://www.w3.org/WAI/ER/IG/ert/iso639.htm
http://www.oasis-open.org/cover/iso639a.html
See also
http://oss.software.ibm.com/cvs/icu/~checkout~/icuhtml/design/language_code_issues.html
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.10

ISO 3166
http://mitglied.lycos.de/buran/knowhow/codes/locales/
addLocalChangedListener:
current
currentPlatform
currentPlatform:
currentPlatform:during:
defaultEncodingName:
determineCurrentLocale
determineLocale
determineLocaleID
Locale current determineLocaleID
fetchISO2Language
Locale current fetchISO2Language
initKnownLocales
initialize
Subclasses should redefine this method to perform initializations on instance creation
initializePlatformEncodings
isoCountry
isoLanguage
isoLanguage:
isoLanguage:isoCountry:
isoLocale
<language>-<country>
isoLocale:
knownLocales
languageEnvironment
languageSymbol:
localeChanged
localeChangedListeners
localeID
localeID:
migrateSystem
platformEncodings
primCountry
Returns string with country tag according to ISO 639
primCurrencyNotation
Returns boolean if symbol is pre- (true) or post-fix (false)
primCurrencySymbol
Returns string with currency symbol
primDST
Returns boolean if DST (daylight saving time) is active or not
primDecimalSymbol
Returns string with e.g. '.' or ','
primDigitGrouping
Returns string with e.g. '.' or ',' (thousands etc)
primLanguage
returns string with language tag according to ISO 639
primLongDateFormat
Returns the long date format
d day, m month, y year,
double symbol is null padded, single not padded (m=6, mm=06)
dddd weekday
mmmm month name
primMeasurement
Returns boolean denoting metric(true) or imperial(false).
primShortDateFormat
Returns the short date format
d day, m month, y year,
double symbol is null padded, single not padded (m=6, mm=06)
dddd weekday
mmmm month name
primTimeFormat
Returns string time format
Format is made up of
h hour (h 12, H 24), m minute, s seconds, x (am/pm String)
double symbol is null padded, single not padded (h=6, hh=06)
primTimezone
The offset from UTC in minutes, with positive offsets being towards the east.
(San Francisco is in UTC -08*60 and Paris is in GMT +01*60 (daylight savings is not in effect).
primVMOffsetToUTC
Returns the offset in minutes between the VM and UTC.
If the VM does not support UTC times, this is 0.
Also gives us backward compatibility with old VMs as the primitive will fail and we then can return 0.
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
startUp:
stringForLanguageNameIs:
switchAndInstallFontToID:
switchTo:
switchToID:
LocaleID
A LocaleID is xxxxxxxxx.
Instance Variables
isoCountry: <Object>
isoLanguage: <Object>
isoCountry
- xxxxx
isoLanguage
- xxxxx
=
Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.
current
displayCountry
displayLanguage
displayName
Answer a proper name to represent the receiver in GUI.

The wording is provided by translations of the magic value
'<language display name>'.

'English' -> 'English'
'German' -> 'Deutsch'
hasParent
hash
Answer a SmallInteger whose value is related to the receiver's identity.
May be overridden, and should be overridden in any classes that define =
isoCountry
isoLanguage
isoLanguage:
isoLanguage:isoCountry:
isoString
isoString:
parent
printOn:
<language>-<country>
storeOn:
Append to the argument aStream a sequence of characters that is an
expression whose evaluation creates an object similar to the receiver.
translator
NaturalLanguageFormTranslator
A NaturalLanguageFormTranslator is xxxxxxxxx.
Instance Variables
generics: <Object>
id: <Object>
generics
- xxxxx
id
- xxxxx
cachedTranslations
generics
isoLanguage:
isoLanguage:isoCountry:
loadFormsFrom:
localeID
localeID:
name:form:
saveFormsOn:
translate:
NaturalLanguageTranslator
A NaturalLanguageTranslator is xxxxxxxxx.
Instance Variables
contexts: <Object>
generics: <Object>
id: <Object>
contexts
- xxxxx
generics
- xxxxx
id
- xxxxx
allKnownPhrases
availableLanguageLocaleIDs
cachedTranslations
checkPhrase:translation:
cleanUpCache
current
default
defaultBackgroundColor
answer the receiver's defaultBackgroundColor for views
directoryForLanguage:country:create:
directoryForLocaleID:create:
displayLanguage
displayName
fileOutHeader
fileOutHeaderOn:
fileOutOn:
self current fileOutOn: Transcript. Transcript endEntry
fileOutOn:keys:
self current fileOutOn: Transcript. Transcript endEntry
fileReaderServicesForFile:suffix:
generics
initialize
Subclasses should redefine this method to perform initializations on instance creation
isoCountry
isoLanguage
isoLanguage:
isoLanguage:isoCountry:
loadAvailableExternalLocales
loadExternalTranslationsFor:
loadForLocaleIsoString:fromGzippedMimeLiteral:
loadFromFileNamed:
Load translations from an external file
loadFromRefStream:
Load translations from an external file
loadFromStream:
Load translations from an external file
loadTranslatorForIsoLanguage:isoCountry:
localeDirCreate:
localeID
localeID:
mergeTranslationFileNamed:
mergeTranslations:
Merge a new set of translations into the exiting table.
Overwrites existing entries.
nextChunkPut:on:
phrase:translation:
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
processExternalObject:
pivate - process the external object
rawPhrase:translation:
rawRemoveUntranslated:
registerPhrase:
registeredPhraseFor:
removeTranslationFor:
removeUntranslated:
resetCaches
saveToFileNamed:
save the receiver's translations to a file named fileNameString
scanFrom:
Read a definition of dictionary.
Make sure current locale corresponds my locale id
serviceMergeLanguageTranslations
services
startUp:
translate:
translate:in:
translationFor:
translationSuffix
translations
untranslated
writeAsMimeString