![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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)
5.12.1 I18N.LcMessagesDomain class: opening MO files (class) 5.12.2 I18N.LcMessagesDomain: handling the cache (instance) 5.12.3 I18N.LcMessagesDomain: querying (instance)
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |