Gettext/wxWidgets
From Get docs
Next: Tcl, Previous: Vala, Up: List of Programming Languages [Contents][Index]
15.5.19 wxWidgets library
- RPMs
- wxGTK, gettext
- Ubuntu packages
- libwxgtk3.0-dev
- 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
andsrc/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