Next: , Previous: Pascal, Up: List of Programming Languages   [Contents][Index]


15.5.15 wxWidgets library

RPMs

wxGTK, gettext

File extension

cpp

String syntax

"abc"

gettext shorthand

_("abc")

gettext/ngettext functions

wxLocale::GetString, wxGetTranslation

textdomain

wxLocale::AddCatalog

bindtextdomain

wxLocale::AddCatalogLookupPathPrefix

setlocale

wxLocale::Init, wxSetLocale

Prerequisite

#include <wx/intl.h>

Use or emulate GNU gettext

emulate, see include/wx/intl.h and src/common/intl.cpp

Extractor

xgettext

Formatting with positions

wxString::Format supports positions if and only if the system has wprintf(), vswprintf() functions and they support positions according to POSIX.

Portability

fully portable

po-mode marking

yes