13.5.9 GNU Smalltalk
- RPMs
- smalltalk
- File extension
st
- String syntax
"abc"
- gettext shorthand
NLS? "abc"
self? "abc"
- gettext/ngettext functions
LcMessagesDomain>>#at:, LcMessagesDomain>>#at:plural:with:
- textdomain
LcMessages>>#? (returns a LcMessagesDomain object).
Example: Locale default messages ? 'gettext'
- bindtextdomain
LcMessages>>#domain:directory: (returns a LcMessagesDomain
object)
- setlocale
- You can obtain any
Locale object from Locale class methods
such as #fromString: or #default.
Example: Locale default messages gives the LcMessages
object for the default locale.
- Prerequisite
- The gettext code is contained in the `I18N' package.
- Use or emulate GNU gettext
- emulate
- Extractor
- ---
- Formatting with positions
'%1 %2' bindWith: 'Hello' with: 'world'
- Portability
- fully portable
- po-mode marking
- ---
This document was generated
on May 6, 2002
using texi2html