Gettext/Vala
From Get docs
Next: wxWidgets, Previous: Smalltalk, Up: List of Programming Languages [Contents][Index]
15.5.18 Vala
- RPMs
- vala
- Ubuntu packages
- valac
- File extension
vala
- String syntax
- ;*
"abc"
"""abc"""
- gettext shorthand
_("abc")
- gettext/ngettext functions
gettext
,dgettext
,dcgettext
,ngettext
,dngettext
,dpgettext
,dpgettext2
- textdomain
textdomain
function, defined under theIntl
namespace- bindtextdomain
bindtextdomain
function, defined under theIntl
namespace- setlocale
- Programmer must call
Intl.setlocale (LocaleCategory.ALL, "")
- Prerequisite
- —
- Use or emulate GNU gettext
- Use
- Extractor
xgettext
- Formatting with positions
- Same as for the C language.
- Portability
- autoconf (gettext.m4) and #if ENABLE_NLS
- po-mode marking
- yes