Back: I18N.LcTime-tests Up: Iconv/I18N packages Forward: I18N.Locale class-C call-outs   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

5.21 I18N.Locale

Defined in namespace I18N
Superclass: I18N.LocaleData
Category: i18n-Messages
This object is an abstract superclass of objects related to the territory and language in which the program is being used. Instances of it are asked about information on the current locale, and provide a means to be asked for things with a common idiom, the #? binary message.

5.21.1 I18N.Locale class: C call-outs  (class)
5.21.2 I18N.Locale class: initialization  (class)
5.21.3 I18N.Locale class: instance creation  (class)
5.21.4 I18N.Locale: C call-outs  (instance)
5.21.5 I18N.Locale: subobjects  (instance)


5.21.1 I18N.Locale class: C call-outs

primRootDirectory
Not commented.


5.21.2 I18N.Locale class: initialization

rootDirectory
Answer the directory under which locale definition files are found.

rootDirectory: aString
Set under which directory locale definition files are found.


5.21.3 I18N.Locale class: instance creation

default
Answer an instance of the receiver that accesses the default locale.

flush
Flush the information on locales that are not valid across an image save/load.

fromString: aString
Answer an instance of the receiver that accesses the given locale (in the form language[_territory][.charset]).

posix
Answer an instance of the receiver that accesses the POSIX locale.


5.21.4 I18N.Locale: C call-outs

load: name
Not commented.


5.21.5 I18N.Locale: subobjects

messages
Answer the LcMessages object for the locale represented by the receiver.

monetary
Answer the LcMonetary object for the locale represented by the receiver.

monetaryIso
Answer the LcMonetaryISO object for the locale represented by the receiver.

numeric
Answer the LcNumeric object for the locale represented by the receiver.

time
Answer the LcTime object for the locale represented by the receiver.



Back: I18N.Locale-C call-outs Up: I18N.Locale Forward: I18N.LocaleConventions   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on February, 22 2012 using texi2html