Maurice Lombardi wrote:
DJGPP has only partial support for intl: namely setlocale understands only 'C', 'POSIX' and '' but the translations are allowed by environment variables LANG and LANGUAGE (may be in djgpp.env file) Furthermore it needs -liconv in addition to -lintl because the .mo files are coded as usual in ISO (8859-1 for french), which needs to be recoded to DOS codepage (CP850 foir french).
In the zip uploaded I have changed intl.pas and gettextdemo.pas which give a djgpp working example.
Actually I've just added an autoconf check for -lintl to link it automatically from intl.pas when present. Should I do the same for -liconv? It will probably not be needed on most platforms, but shouldn't hurt, either. Or should I do it conditionally on __OS_DOS__? Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html