This object is an abstract superclass for message domains (catalogs). It contains methods to create instances of its subclasses, but they are commonly used only by LcMessages.
Translations are accessed using either #at: or the shortcut binary messages ‘?’. This way, common idioms to access translated strings will be
string := NLS? ’abc’. string := self? ’abc’.
(in the first case NLS is a class variable, in the second the receiver implements #? through delegation) which is only five or six characters longer than the traditional
string := ’abc’.
(cfr. the _("abc") idiom used by GNU gettext)
|• I18N.LcMessagesDomain class-opening MO files:||(class)|
|• I18N.LcMessagesDomain-handling the cache:||(instance)|