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 wxWidgets 6@subsection wxWidgets library 7@cindex @code{wxWidgets} library 8 9@table @asis 10@item RPMs 11wxGTK, gettext 12 13@item Ubuntu packages 14libwxgtk3.0-dev 15 16@item File extension 17@code{cpp} 18 19@item String syntax 20@code{"abc"} 21 22@item gettext shorthand 23@code{_("abc")} 24 25@item gettext/ngettext functions 26@code{wxLocale::GetString}, @code{wxGetTranslation} 27 28@item textdomain 29@code{wxLocale::AddCatalog} 30 31@item bindtextdomain 32@code{wxLocale::AddCatalogLookupPathPrefix} 33 34@item setlocale 35@code{wxLocale::Init}, @code{wxSetLocale} 36 37@item Prerequisite 38@code{#include <wx/intl.h>} 39 40@item Use or emulate GNU gettext 41emulate, see @code{include/wx/intl.h} and @code{src/common/intl.cpp} 42 43@item Extractor 44@code{xgettext} 45 46@item Formatting with positions 47wxString::Format supports positions if and only if the system has 48@code{wprintf()}, @code{vswprintf()} functions and they support positions 49according to POSIX. 50 51@item Portability 52fully portable 53 54@item po-mode marking 55yes 56@end table 57