I am trying to get GNU Getext and PHP gettext() to work on a local apache server. I have the gettext dll configured in php.ini and the gettext() function executes, however on resetting the lang parameters I cannot get it to read another lang messages.po file. All locale lang directories are in place and paths all appear to be correct.

How can I tell if gettext() is working(ie searching the appropriate language .po file) or failing gracefully?

Also have difficulty getting GNU GetText confgured to execute on .php script via the windows shell. Can anyone explain how to configure the file path to get xgettext working correctly on windows?