1@c This file is part of the GNU gettext manual. 2@c Copyright (C) 1995-2020 Free Software Foundation, Inc. 3@c See the file gettext.texi for copying conditions. 4 5@node Vala 6@subsection Vala 7 8@table @asis 9@item RPMs 10vala 11 12@item Ubuntu packages 13valac 14 15@item File extension 16@code{vala} 17 18@item String syntax 19@itemize @bullet 20 21@item @code{"abc"} 22 23@item @code{"""abc"""} 24 25@end itemize 26 27@item gettext shorthand 28@code{_("abc")} 29 30@item gettext/ngettext functions 31@code{gettext}, @code{dgettext}, @code{dcgettext}, @code{ngettext}, 32@code{dngettext}, @code{dpgettext}, @code{dpgettext2} 33 34@item textdomain 35@code{textdomain} function, defined under the @code{Intl} namespace 36 37@item bindtextdomain 38@code{bindtextdomain} function, defined under the @code{Intl} namespace 39 40@item setlocale 41Programmer must call @code{Intl.setlocale (LocaleCategory.ALL, "")} 42 43@item Prerequisite 44--- 45 46@item Use or emulate GNU gettext 47Use 48 49@item Extractor 50@code{xgettext} 51 52@item Formatting with positions 53Same as for the C language. 54 55@item Portability 56autoconf (gettext.m4) and #if ENABLE_NLS 57 58@item po-mode marking 59yes 60@end table 61