gettext: Sources
1
1 4 Preparing Program Sources
1 ***************************
1
1 For the programmer, changes to the C source code fall into three
1 categories. First, you have to make the localization functions known to
1 all modules needing message translation. Second, you should properly
1 trigger the operation of GNU ‘gettext’ when the program initializes,
1 usually from the ‘main’ function. Last, you should identify, adjust and
1 mark all constant strings in your program needing translation.
1
Menu