| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
15.5.10 GNU Smalltalk
- RPMs
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 aLcMessagesDomainobject).
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.
This document was generated on June 7, 2014 using texi2html 5.0.
