Re: How to generate a gettext source file
Well, I've done some digging and just trying many different things, and I've finally been able to successfully generate a source file. I thought I'd share it in case anyone else later has the same problem.
Firstly, I had to configure poEdit to also look for .phtml files (yes, I should've thought of that right away). In File->Preferences, under the parser tab, I edited the list of extensions for PHP to "*.php;*.phtml;".
However, it would still thrown an error every time about not recognizing .phtml and using the C parser or something like that. It did actually recognize my translations, however, only when I put them into double-quoted strings. To make it correctly parse the .phtml files I appended PHP's parser command with " -L php", so it now reads "xgettext --force-po -o %o %C %K %F -L php".
Then I also made a mistake in my catalog settings, since I hadn't set the Base path (under the Paths tab) to the directory where my project was located. For convenience I added the path "application" instead of "." so it wouldn't search through the library et al.
Thanks for the help,
--
Vincent