Reputation: 161
how to xgettext with all the file including subdirectories files? I tried to
xgettext -n *.php
but it only generates *.po files in current directory without child directories' files. any option needed to recursively do the command?
Upvotes: 2
Views: 1719
Reputation: 2340
Try this:
find . -name "*.php" >POTFILES
xgettext -n --files-from=POTFILES
Upvotes: 4