home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


gettext [domain ] string

Solaris only. Retrieve and print the translated version of string . This provides shell-level access to the facilities of gettext (3C). Translations are looked up in /usr/lib/locale/ lang /LC_MESSAGES/ domain .mo . lang is the current locale (e.g., en_US ). If domain is not supplied, the value of $TEXTDOMAIN is used instead. Without a domain, or if no translation can be found, gettext simply prints string . If $TEXTDOMAINDR exists, its value is used instead of /usr/lib/locale/ .

Previous: Reference: getopts UNIX in a Nutshell: System V Edition Next: Reference: gettxt
Reference: getopts Book Index Reference: gettxt

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System