Gettext/GCC 002dsource
From Get docs
Next: YCP, Previous: Pike, Up: List of Programming Languages [Contents][Index]
15.5.24 GNU Compiler Collection sources
- RPMs
- gcc
- Ubuntu packages
- gcc
- File extension
c
,h
.- String syntax
"abc"
- gettext shorthand
_("abc")
- gettext/ngettext functions
gettext
,dgettext
,dcgettext
,ngettext
,dngettext
,dcngettext
- textdomain
textdomain
function- bindtextdomain
bindtextdomain
function- setlocale
- Programmer must call
setlocale (LC_ALL, "")
- Prerequisite
#include "intl.h"
- Use or emulate GNU gettext
- Use
- Extractor
xgettext -k_
- Formatting with positions
- —
- Portability
- Uses autoconf macros
- po-mode marking
- yes