Next: , Previous: Programmer i18n, Up: Internationalization


13.4 Translating awk Programs

Once a program's translatable strings have been marked, they must be extracted to create the initial .po file. As part of translation, it is often helpful to rearrange the order in which arguments to printf are output.

gawk's --gen-pot command-line option extracts the messages and is discussed next. After that, printf's ability to rearrange the order for printf arguments at runtime is covered.