gettext: Vala
1
1 15.5.24 Vala
1 ------------
1
1 RPMs
1 vala
1
1 File extension
1 ‘vala’
1
1 String syntax
1
1 • ‘"abc"’
1
1 • ‘"""abc"""’
1
1 gettext shorthand
1 ‘_("abc")’
1
1 gettext/ngettext functions
1 ‘gettext’, ‘dgettext’, ‘dcgettext’, ‘ngettext’, ‘dngettext’,
1 ‘dpgettext’, ‘dpgettext2’
1
1 textdomain
1 ‘textdomain’ function, defined under the ‘Intl’ namespace
1
1 bindtextdomain
1 ‘bindtextdomain’ function, defined under the ‘Intl’ namespace
1
1 setlocale
1 Programmer must call ‘Intl.setlocale (LocaleCategory.ALL, "")’
1
1 Prerequisite
1 —
1
1 Use or emulate GNU gettext
1 Use
1
1 Extractor
1 ‘xgettext’
1
1 Formatting with positions
1 Same as for the C language.
1
1 Portability
1 autoconf (gettext.m4) and #if ENABLE_NLS
1
1 po-mode marking
1 yes
1