Next: , Previous: , Up: Individual 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 the Intl namespace

bindtextdomain

bindtextdomain function, defined under the Intl 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