gettext: wxWidgets
1
1 15.5.15 wxWidgets library
1 -------------------------
1
1 RPMs
1 wxGTK, gettext
1
1 File extension
1 ‘cpp’
1
1 String syntax
1 ‘"abc"’
1
1 gettext shorthand
1 ‘_("abc")’
1
1 gettext/ngettext functions
1 ‘wxLocale::GetString’, ‘wxGetTranslation’
1
1 textdomain
1 ‘wxLocale::AddCatalog’
1
1 bindtextdomain
1 ‘wxLocale::AddCatalogLookupPathPrefix’
1
1 setlocale
1 ‘wxLocale::Init’, ‘wxSetLocale’
1
1 Prerequisite
1 ‘#include <wx/intl.h>’
1
1 Use or emulate GNU gettext
1 emulate, see ‘include/wx/intl.h’ and ‘src/common/intl.cpp’
1
1 Extractor
1 ‘xgettext’
1
1 Formatting with positions
1 wxString::Format supports positions if and only if the system has
1 ‘wprintf()’, ‘vswprintf()’ functions and they support positions
1 according to POSIX.
1
1 Portability
1 fully portable
1
1 po-mode marking
1 yes
1