Thread: using poEdit
View Single Post
  #2 (permalink)  
Old 03-13-2008, 01:13 PM
mgordon's Avatar
mgordon mgordon is offline
Junior Member
 
Join Date: Sep 2007
Location: Stockholm, Sweden
Posts: 16
Send a message via Skype™ to mgordon
Default Adding -L php to xgettext in poEdit

This problem is due to xgettext not recognizing *.phtml files. Change php-settings in tab for code interpreters

1. Add to files: *.php;*.phtml
2. Add -L php to xgettext: "xgettext --force-po -o %o %C %K %F -L php"

Works like a charm (should be set by default by poEdit but no-one's perfect)
Reply With Quote