gawk: I18N Summary
1
1 13.7 Summary
1 ============
1
1 * Internationalization means writing a program such that it can use
1 multiple languages without requiring source code changes.
1 Localization means providing the data necessary for an
1 internationalized program to work in a particular language.
1
1 * 'gawk' uses GNU 'gettext' to let you internationalize and localize
1 'awk' programs. A program's text domain identifies the program for
1 grouping all messages and other data together.
1
1 * You mark a program's strings for translation by preceding them with
1 an underscore. Once that is done, the strings are extracted into a
1 '.pot' file. This file is copied for each language into a '.po'
1 file, and the '.po' files are compiled into '.gmo' files for use at
1 runtime.
1
1 * You can use positional specifications with 'sprintf()' and 'printf'
1 to rearrange the placement of argument values in formatted strings
1 and output. This is useful for the translation of format control
1 strings.
1
1 * The internationalization features have been designed so that they
1 can be easily worked around in a standard 'awk'.
1
1 * 'gawk' itself has been internationalized and ships with a number of
1 translations for its messages.
1