File: gettext.info, Node: Smalltalk, Next: Vala, Prev: OCaml, Up: List of Programming Languages 16.5.23 GNU Smalltalk --------------------- RPMs smalltalk Ubuntu packages gnu-smalltalk File extension ‘st’ String syntax ‘'abc'’ gettext shorthand ‘NLS ? 'abc'’ gettext/ngettext functions ‘LcMessagesDomain>>#at:’, ‘LcMessagesDomain>>#at:plural:with:’ textdomain ‘LcMessages>>#domain:localeDirectory:’ (returns a ‘LcMessagesDomain’ object). Example: ‘I18N Locale default messages domain: 'gettext' localeDirectory: /usr/local/share/locale'’ bindtextdomain ‘LcMessages>>#domain:localeDirectory:’, see above. setlocale Automatic if you use ‘I18N Locale default’. Prerequisite ‘PackageLoader fileInPackage: 'I18N'!’ Use or emulate GNU gettext emulate Extractor ‘xgettext’ Formatting with positions ‘'%1 %2' bindWith: 'Hello' with: 'world'’ Portability fully portable po-mode marking -- An example is available in the ‘examples’ directory: ‘hello-smalltalk’.
