bash: Locale Translation
1
1 3.1.2.5 Locale-Specific Translation
1 ...................................
1
1 A double-quoted string preceded by a dollar sign ('$') will cause the
1 string to be translated according to the current locale. If the current
1 locale is 'C' or 'POSIX', the dollar sign is ignored. If the string is
1 translated and replaced, the replacement is double-quoted.
1
1 Some systems use the message catalog selected by the 'LC_MESSAGES'
1 shell variable. Others create the name of the message catalog from the
1 value of the 'TEXTDOMAIN' shell variable, possibly adding a suffix of
1 '.mo'. If you use the 'TEXTDOMAIN' variable, you may need to set the
1 'TEXTDOMAINDIR' variable to the location of the message catalog files.
1 Still others use both variables in this fashion:
1 'TEXTDOMAINDIR'/'LC_MESSAGES'/LC_MESSAGES/'TEXTDOMAIN'.mo.
1