www.delorie.com/gnu/docs/gettext/gettext_226.html   search  
 
Buy GNU books!


GNU gettext utilities

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13.5.11 GNU awk

RPMs
gawk 3.1 or newer

File extension
awk

String syntax
"abc"

gettext shorthand
_"abc"

gettext/ngettext functions
dcgettext, missing dcngettext in gawk-3.1.0

textdomain
TEXTDOMAIN variable

bindtextdomain
bindtextdomain function

setlocale
automatic, but missing setlocale (LC_MESSAGES, "") in gawk-3.1.0

Prerequisite
---

Use or emulate GNU gettext
use

Extractor
xgettext

Formatting with positions
printf "%2$d %1$d" (GNU awk only)

Portability
On platforms without gettext, no translation. On non-GNU awks, you must define dcgettext, dcngettext and bindtextdomain yourself.

po-mode marking
---


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003